JavaServer Pages (JSP) and JSTL - JSTL parameter passing question

Hi,

Is there any way to pass therequestandsession objects as parameters (or using some other tag), using jstl, to another jsp..?

eg:

<c:import url="/getparams.jsp" context="/Test">

<c:param name="req" value="<%request%>" />

<c:param name="ses" value="<%request.getSession()%>" />

</c:import>

thanks,

mike

[425 byte] By [mvas2a] at [2007-11-26 23:05:54]
# 1

u can simply use the request object of previous jsp by simply forwardin the request like this

<jsp:forwardpage="/second.jsp"/>

by using the above code snippet u have availability of request params

of first.jsp

if at all u already stored in session object will avialabe untill it was closed .but u have set Attributes .......okbye bbbye

JspServleta at 2007-7-10 13:59:09 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Answer: No.Parameters can only be strings
evnafetsa at 2007-7-10 13:59:09 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...