I think one of us getting confused about what B and C are.  On the one hand
you describe them as pages, on the other you refer to them as servlets.  So
I'm not sure what the issue is.

Regardless here is one scenario:

You have a multi-framed page.  One frame is loaded and then it has code that
launches the loading of another frame.  The latter frame needs to access
parameters that may only reside in a former frame.  Using document and
parent references you can reference Javascript aware objects, like input
fields, visible or hidden, in one frame from another.

Specifics on this?  Refer to a Javascript group, list or reference guide.

If this doesn't answer the question, perhaps you'd care to restate the
problem more clearly.

Dan

> ----------
> From:         Aggarwal, Pawan[SMTP:[EMAIL PROTECTED]]
> Reply To:     A mailing list about Java Server Pages specification and
> reference
> Sent:         Tuesday, June 13, 2000 1:08 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Passing parameters to servlet thru frames
>
> You mean that I pass on all the parameters to the servlet B which contains
> the servlet C
> And now since C is a child of B, I can access the parameters of B..through
> javascript...
>
> I am passing on the parameters to B thru POST method..
> Since I am not creating any elements in B which itself is just a container
> for 2 frames...
>
> How can I access these thru javascript..
>
>         -----Original Message-----
>         From:   Kirkdorffer, Daniel [SMTP:[EMAIL PROTECTED]]
>         Sent:   13 June 2000 23:12
>         To:     [EMAIL PROTECTED]
>         Subject:        Re: Passing parameters to servlet thru frames
>
>         Storing the parameters in a session object and then accessing them
> through C
>         is one way to go.  You could also pass them to B and create a
> servlet call
>         that has them as GET parameters (i.e. in the URL of the call to
> C).
> It is a
>         little unclear how you have this set up so I won't comment further
> other
>         than to indicate you can use Javascript to reference parameters in
> a
> form in
>         one frame, from another frame.  For example, I have a system that
> has a main
>         frame and a button frame.  Although the button frame is where I'd
> like the
>         parameters to be when I press the button, I don't need them there
> as
> my
>         button press can submit a form in the main frame instead.
>
>         Hopefully that helps a little,
>
>         Dan
>         --
>         Daniel Kirkdorffer
>         NACN IS: 425-580-6225
>         Sr. Consultant, Syllogistics LLC
>         Email: [EMAIL PROTECTED]
>         Web:   http://www.syllogistics.com/
>
>         > ----------
>         > From:         Aggarwal, Pawan[SMTP:[EMAIL PROTECTED]]
>         > Reply To:     A mailing list about Java Server Pages
> specification
> and
>         > reference
>         > Sent:         Tuesday, June 13, 2000 9:45 AM
>         > To:   [EMAIL PROTECTED]
>         > Subject:      Passing parameters to servlet thru frames
>         >
>         > Hi All,
>         >
>         > I am facing a problem please let me know if you have idea..
>         >
>         > I have a servlet A which is shown in the browser with 3 frames..
>         >
>         > One is the Top Menu
>         > Second is the Navigation Bar of left
>         > Third is the main servlet A.
>         >
>         > Now when I submit over this servlet A I need to call another
> servlet B
>         > which
>         > itself contains
>         > 2 frames
>         > One is Top Menu
>         > Bottom one is Servlet C
>         >
>         > What I want is that when I pass on the parameters from A to B
>         > I would like to access them in C instead of B
>         >
>         > How could I do this..
>         >
>         > I would not prefer session parameters ..If you know some way out
>         > Let me know..
>         >
>         > Thanks in advance\
>         >
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to