| Author |
Sending Parameters through Frames
|
Kedar Patwardhan
Greenhorn
Joined: Jan 24, 2007
Posts: 8
|
|
Hello Forum, Let me explain you my problem. What I am doing is, I have one Servlet wherein I am fetching some parameters and then I am forwarding the request to a JSP (say)(FrameWork.jsp). I am able to get this parameters over here. Now inside this JSP I have declared one FrameSet tag.I have declared two Frame tags inside it with each tag having a path of another JSP in their SRC attribute. Now I want to send those Parameters to one of the JSP declared in the SRC attribute of Frame Tag. So how can I do it without appending the parameters in the SRC String. Thank You in advance Regards, Kedar
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
Each frame is populated with a brand new request so, if you don't want to use query string variables, you'll probably want to store those variables in session. Another option would be to store them in the frameset and then access them with window.parent.varName.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
 |
|
|
subject: Sending Parameters through Frames
|
|
|