• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sending Parameters through Frames

 
Kedar Patwardhan
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic