Passing a request object from a jsp to a frame within the same jsp
Yagnesh Chawda
Greenhorn
Joined: May 30, 2006
Posts: 3
posted
0
Hey All, This is kinda urgent....hope to get bac replies as alwys ASAP
I have a jsp wherein there is an embedded frame. My problem is that i need the same request object in the frame as the jsp. I tried using sessions....but all i got was null null null.
please help me guys.......i m stuck since mrng on this
Jeroen T Wenting
Ranch Hand
Joined: Apr 21, 2006
Posts: 1847
posted
0
a hint: your embedded JSP will be called in a separate request so won't have access to the request parameters from the primary request.
42
Yagnesh Chawda
Greenhorn
Joined: May 30, 2006
Posts: 3
posted
0
Thanks a lot fr the reply. I knw tht the embedded jsp is also having its own request object. but i want the primary request object to be available in the frame 2. Is this possible....and if it is then could u throw some light on how can it be done.
Stefan Evans
Bartender
Joined: Jul 06, 2005
Posts: 1004
posted
0
No it is not possible. What is it you are trying to accomplish?
Putting the info you are after in the session, and retrieving it in the iframe should work. Just not for objects like "request" [ May 30, 2006: Message edited by: Stefan Evans ]