JSP uses JSP Forward Action to implement the jump function of the page. Grammar:
or jsp: forward>
This Action allows you to go to another page forward. It has only one attribute, Page. Page should have a relatively URL composition. This can be a static value or can be calculated when the value is being requested, as two examples below:
! Supportemptyparas]> Now use a specific example: in Test1.jsp Forward makes it jumps to the Test2.jsp page. TEST1.JSP
Forward test title>! "@ H>! Supportemptyparas]> body> html>! Supportemptyparas]> test2.jsp
Forward test title>! ("This is the JSP2.jsp page generated by <% out.println (" this is the JSP2.jsp page Output ");%> bo # @ 62; html>! Supportemptyparas]> Run Test1.jsp, you can see in the browser:" This is the output information of the JSP2.jsp page " . But what if you have parameter passed in two pages in Test1.jsp and Test2.jsp? With the GET mode, not only the total length is limited, it is very inconvenient to use, and sometimes it is still not safe. In fact, we can completely use the PARA properties provided in Forward in JSP 1.1. Now it is described with Test3.jsp and Test4.jsp.