This is a fun problem, as the different JSP's
are run in different http connections
in response to different GET/POST requests.

One can store data in a session or application
(session is application of course with cookie or mangled URL to
provide a key). Make sure both JSPs have a session cookie or
mangled URL in common. Have the sender store information with
the shared http session, and the receiving JSP pick it up
from the session. (This assumes both JSP's are in the same
application server, or that you have a server side info bus
to share session state among application servers, as is provide
by WebLogic. If you don't have this use a shared dbms, with the session
cookie as key.)

While it is nice to talk freely about "JSPs sending data from one to
another"
it may be useful to keep in mind the realities of the web application
environment: The JSPs execute on the server in response to client HTTP
requests.
What one (probably) means it that the execution of one JSP creates some data
which you would like the execution of another JSP requested by the same
client
browser session to have access to when this JSP is invoked from a future
HTTP request from that same browser session.

Welcome to the wonderful world of web application programming.
For the details of how to access the sessions and cookies and such
http://www.coreservlets.com/
http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/Servlet-Tutorial-Cookies.
html

Andy
mailto:[EMAIL PROTECTED]

-----Original Message-----
From: Mukka, Srikanth [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 25, 2000 3:47 PM
To: [EMAIL PROTECTED]
Subject: Re: Happy Diwali Greetings


Hi All,

How to pass value from one jsp to other jsp which are displayed on different
frames.

Bye
Srikanth

-----Original Message-----
From: Jitesh Gangwani [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 25, 2000 5:01 AM
To: [EMAIL PROTECTED]
Subject: Re: Happy Diwali Greetings


Hello EveryOne

Hope this diwali will light up your dreams and show you the way to make them
true..

Diwali is more than a religious celebration...

It is the only time in the year when you can find every nook and corner
lighted up.. So you should look out for all the new opportunities which are
shining there for you...


Enjoy and put some sparkle in life of everyone around you...

HAPP e-DIWALI...


Your Friend

Jitesh

===========================================================================
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

===========================================================================
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

===========================================================================
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