standard taglib • implementation of the JSP Standard Tag Library •
Examples Introduction • General Purpose • Conditionals • Iterators • Import • I18N & Formatting • XML • SQL • TLV • Misc.

## Import Tags Examples

If you are using a Proxy server, you will need to set the following System Properties when starting the VM:

        http.proxyHost
        http.proxyPort
        ftp.proxyHost
        ftp.proxyPort

        Note: Even wtih the proxy, some firewall configurations may give No Route to Host error on Absolute (FTP) example below.

### Absolute

Using an Absolute URL to import a resource.

### Relative

Using a Relative URL to import a resource.

### Context Relative

Importing a resource relative to a foreign context.

### Absolute (FTP)

Using an Absolute URL to import a resource using a different protocol other than HTTP.

### Encode

URL encoding examples.

### Encode Context Relative

URL encoding examples using a relative context and nested param tags.

### Encode Query String

URL encoding examples using a relative context and query string.

### String Exposure Absolute

Exposing the content of the resource as a String Object.

### String Exposure Relative

Exposing the content of a relative URL's resource as a String Object.

### Param

Using element to specify request parameters. Also demonstrating how request parameters can be URL encoded (default). (NOTE: Returns error page by default.)

### Malformed URL

A relative URL must start with a "/" in a foreign context. (NOTE: This example will result in a ServletException describing the error condition).

standard taglib • implementation of the JSP Standard Tag Library •