standard taglib • implementation of the JSP Standard Tag Library • support   development   comments to JSR-52
Examples     IntroductionGeneral PurposeConditionalsIteratorsImportI18N & FormattingXMLSQLTLVMisc.

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

Absolute  

Using an Absolute URL to import a resource.

Relative  

Using a Relative URL to import a resource.

Absolute (FTP)  

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

Encode  

URL encoding examples.

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 <param> 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)

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).

Context Relative Examples

For the context relative examples you will need to supply an available relative context name and url before executing the tags.

Context
Url
Param name: Param value:
Param name: Param value:
Param name: Param value:


standard taglib • implementation of the JSP Standard Tag Library • support   development   comments to JSR-52