File: links.html

package info (click to toggle)
glassfish 1%3A2.1.1-b31-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 137,420 kB
  • ctags: 168,594
  • sloc: java: 1,051,703; xml: 48,451; jsp: 4,967; ansic: 1,442; perl: 1,200; sh: 562; makefile: 340; cpp: 336; sql: 78; haskell: 76; awk: 69; ruby: 58; sed: 21; lisp: 5
file content (46 lines) | stat: -rw-r--r-- 3,084 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<h2>Import Tags Examples</h2>
<p>If you are using a Proxy server, you will need to set the following System 
  Properties when starting the VM:</p>
<pre>
    http.proxyHost
    http.proxyPort
    ftp.proxyHost
    ftp.proxyPort
</pre>
<br>
<h3>Absolute&nbsp;&nbsp; <a href="../ShowSource.jsp?filename=/import/Absolute.jsp"><img src="../images/code.gif" width="24" height="24" border="0"></a> 
  <a href="Absolute.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a> 
</h3>
Using an Absolute URL to import a resource. <br>
<h3>Relative&nbsp;&nbsp; <a href="../ShowSource.jsp?filename=/import/Relative.jsp"><img src="../images/code.gif" width="24" height="24" border="0"></a> 
  <a href="Relative.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a> 
</h3>
Using a Relative URL to import a resource. <br>
<h3>Absolute (FTP)&nbsp;&nbsp; <a href="../ShowSource.jsp?filename=/import/AbsoluteFtp.jsp"><img src="../images/code.gif" width="24" height="24" border="0"></a> 
  <a href="AbsoluteFtp.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a> 
</h3>
Using an Absolute URL to import a resource using a different protocol other than 
HTTP. <br>
<h3>Encode&nbsp;&nbsp; <a href="../ShowSource.jsp?filename=/import/Encode.jsp"><img src="../images/code.gif" width="24" height="24" border="0"></a> 
  <a href="Encode.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a> 
</h3>
URL encoding examples. <br>
<h3>String Exposure Absolute&nbsp;&nbsp; <a href="../ShowSource.jsp?filename=/import/ExposeString.jsp"><img src="../images/code.gif" width="24" height="24" border="0"></a> 
  <a href="ExposeString.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a> 
</h3>
Exposing the content of the resource as a String Object. <br>
<h3>String Exposure Relative&nbsp;&nbsp; <a href="../ShowSource.jsp?filename=/import/ExposeStringRelative.jsp"><img src="../images/code.gif" width="24" height="24" border="0"></a> 
  <a href="ExposeStringRelative.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a> 
</h3>
Exposing the content of a relative URL's resource as a String Object. <br>
<h3>Param&nbsp;&nbsp; <a href="../ShowSource.jsp?filename=/import/Param.jsp"><img src="../images/code.gif" width="24" height="24" border="0"></a> 
  <a href="Param.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a> 
</h3>
Using &lt;param&gt; element to specify request parameters. Also demonstrating how request 
parameters can be URL encoded (default). (NOTE: Returns error page that shows 
how request parameters are encoded) <br>
<h3>Malformed URL&nbsp;&nbsp; <a href="../ShowSource.jsp?filename=/import/StartSlash.jsp"><img src="../images/code.gif" width="24" height="24" border="0"></a> 
  <a href="StartSlash.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a> 
</h3>
A relative URL must start with a "/" in a foreign context. (NOTE: This example 
will result in a ServletException describing the error condition). <br>