| Refresh | Home EGTry.com


jsp

<jsp:forward page="otherpage">
	<jsp:param name="age" value="37"/>
	<jsp:param name="weight" value="206"/>
</jsp:forward>


servlet

/* clear the buffer before forward.
 if write into unbuffer out, and then forward, exception occur
 if write more than the size of buffer, and then forward, exception occur
*/
out.clear():
pageContext.forward("otherpage"+"?age=37&weight=206");