Sun Java System Portal Server Mobile Access 7.1 Tag Library Reference

forward

Description

This tag will perform a "forward" operation, similar to <jsp:forward>, but will construct the JSP resource name in one of two ways: The path attribute may specify a path to be used verbatim during the construction of the URL. Client data specific rewriting will not be applied to this value. The file and comp attributes may together specify a JSP resource that will be resolved using client data driven file lookup rules. Additionally, query string parameters may be appended to the URL by the inclusion of the appropriate parm tags within the body of the "forward" tag. With the exception of the parm tags, all body content is discarded. The parameters that are ultimately passed to the destination resource are the concatenation of those present in the original request, and those specified in the body of the forward tag.

Tag Body

JSP

Restrictions

Either path or, file and comp must be specified.

Attributes

The tag has the following attributes for which the Required value is “No”:

file

The file for which to perform the lookup, and thence to forward.

comp

The component that the target file belongs to, e.g., "mail", "cal", or "ab".

path

The path component of the URL. If path is specified, neither file nor comp should be specified.

Properties

n/a

Example(s)
<%-- forward tag example --%>

<util:forward file="inbox.jsp" comp="mail"/>

... or possibly ... 

<util:forward file="inbox.jsp" comp="mail">
	<util:parm name="parm1">abc</util:parm>
</util:forward>