You could store the info you retrieved in the HttpSession object using the
putValue method to store in A and the getValue method in B to get it back.
Good luck
Chor Hock Lee
Solution Architect
(eBusiness, Java, Network Computing - the tools of Business Transformation)
Tel: 613 96266561 Mobile: 0411 259313 Fax: 613 96266622
Kenia Nimesh <[EMAIL PROTECTED]> on 11/03/99 04:32:47 PM
Please respond to "A mailing list for discussion about Sun Microsystem's
Java Servlet API Technology."
<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Chor-Hock Lee/Australia/IBM)
Subject: Inter Servlet Communication
I am dynamically displaying a record from the database based on the user by
calling servlet A.
In this record i have a field - booking no. When the user clicks on this
booking no. I am giving some more details of that booking no. in the next
page by calling Servlet B .Together with some more details I also want to
display the existing information of Servlet A on the next page generated
by Servlet B.
Is there a way by which servlet B can communicate to servlet A and get the
details.
Presently in Servlet B , I am again firing a query based on the booking.no
to get the details same as Servlet A
A help on this be appreciated
Nimesh
I am dynamically displaying a record from the database
based on the user by calling servlet A.
In this record i have a field - booking no. When the
user clicks on this booking no. I am giving some more details of that booking
no. in the next page by calling Servlet B .Together with some more details I
also want to display the existing information of Servlet A on the next
page generated by Servlet B.
Is there a way by which servlet B can communicate to servlet A and
get the details.
Presently in Servlet B , I am again firing a query based on the booking.no
to get the details same as Servlet A
A help on this be appreciated
Nimesh
