JSP Tutorial Step by Step
Introduction to JSP
The jsp:forward Action
This action forward the request to another page. It has a single
attribute, page, which should consist of a relative URL. This could
be a static value, or could be computed at request time, as in the two
examples below.
In test1.jsp
<jsp:forward page="test2.jsp" />
<jsp:forward page="<%= someJavaExpression %>" />
|