You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mufaddal Khumri <mu...@wmotion.com> on 2003/03/12 10:04:06 UTC

Usage of jsp:forward ...

Hi,

I have two jsp pages. : First.jsp Second.jsp

In First.jsp i do:

<input type="hidden" name="id" value="<%=u.getId()%>">
<jsp:forward page="Second.jsp"/>


In Second.jsp I need to access id :

String sId = request.getParameter("id");

When i do this ... i get sId = null. How do I pass this parameter from 
First.jsp to Second.jsp ?

Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org