U can save data in one jsp & call the other. Suppose u save some data in
a.jsp & wantto use it in b.jsp -- get the values in a.jsp by
request.getParameter(), then call b.jsp with the same parameters.
----------
From: Lakshmi Anantharaman[SMTP:[EMAIL PROTECTED]]
Reply To: A mailing list about Java Server Pages specification and
reference
Sent: Thursday, April 13, 2000 1:17 AM
To: [EMAIL PROTECTED]
Hi all,
I have a jsp question.
I have a jsp program A.jsp which actually defines a frame. I have two
jsp pages b.jsp and c.jsp in the frame set. I have a servlet which fetches
some data from the database and calls A.jsp with the data. I used request
dispatcher to do this and I also added the data using request.setattribute.
I am also able to see the data I fetched in A.JSP, but the data should
actually be displayed in frame 1 which is b.jsp which has the logic to
retrieve this data. It fails with a null pointer exception.
In other words, do you know how to save some data in one jsp page and
use
it in another. I know this can be done using sessions. But I will be
fetching a huge chunk of data and I am not sure If i should use session
variables to save this. Please advise.
Thanks and regards
Ganesh
===========================================================================
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