A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
jsp:include & jsp:param
Joined: Nov 09, 2005
Nov 09, 2005 05:38:00
I have two JSPs
I have used the the follwing code in jsp1
<jsp:param name="para1" value="para1"/>
<jsp:param name="para2" value="para2"/>
I can access these parameters using request.getParameter() in jsp2.jsp
for the first time when the page loads.
but after I submit (to the jsp1.jsp itself), i get the value of the
parameters as null.
Joined: Aug 15, 2004
Nov 09, 2005 23:42:00
Because now you are accessing a new request object. Read about request lifecycle.
I agree. Here's the link:
subject: jsp:include & jsp:param
how to get object of this below chart and write in to pdf here strXMl is string of xml
Access dynamic attribute
terminate a JSP page
can any body tell how to store check box value in session
Customizing the included content with <jsp:param>
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015