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:
Attribute |
Description |
Req'd? |
file |
The file for which to perform the lookup, and thence
to forward.
|
No |
comp |
The component that the target file belongs to, e.g.,
"mail", "cal", or "ab". |
No |
path |
The path component of the URL. If path is
specified, neither file nor comp should
be specified.
|
No |
|
|
|
|
Properties |
The tag provides the following bean properties:
Property |
Description |
Access |
n/a |
n/a |
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>
|