File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Sending Parameters through Frames Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Sending Parameters through Frames" Watch "Sending Parameters through Frames" New topic

Sending Parameters through Frames

Kedar Patwardhan

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

Ben Souther

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
I agree. Here's the link:
subject: Sending Parameters through Frames
It's not a secret anymore!