Java Web page Jump server jump and client jump:
server-side jumps are characterized by: the browser's address bar will not change after the jump, when using the Rquest attribute range, you can save the request property to the jump page. Execution to the jump statement jumps immediately.
Example: <jsp:forward page= "login.htm" ></jsp>
Or: <jsp:forward page= "login.htm" >
<jsp:param name= "id" value= "200800800365" ></jsp:param>//Pass Parameters
</jsp:forward>
client jumps are characterized by the change of address bar information after the jump and the request property cannot be passed. The jump is performed only after the entire page has been executed.
For example: Use Response object to jump. Response.sendredirect ("hello.htm"); Jump directly to Hello.htm
Furthermore: Response.setheader ("Refresh", "2; Url=hello.htm ")////Two seconds after jump to hello.htm
Further: Using HTML to jump: <meta http-equiv= "Refresh" content= "2,hello.htm" >
Write so much for the time being, to add!
Java Web page Jump