jsp:forward |

The jsp:forward action allows the request to be forwarded to another JSP, a servlet, or a static resource.

        <jsp:forward page="url" />

or

        <jsp:forward page="urlSpec">
            <jsp:param name="paramname" value="paramvalue" />
            ...
        </jsp:forward>

The resource to which the request is being forwarded must be in the same context as the JSP dispatching the request. Execution in the current JSP stops when it encounters a jsp:forward tag. The buffer is cleared, and the request is modified to augment any additionally specified parameters in the same way as described for the jsp:include tag above.

If the output stream was not buffered and some output has been written to it, a jsp:forward action will throw a java.lang.IllegalStateException.

Example

        <jsp:forward page="/search/advanced/results.jsp" />