Hi all,
I have a web application which consists of 4 JSP's and a session bean.
Description :
-------------
The session bean holds data which is to be displayed/modified in the JSP's.
The Sequence of JSP's is defined as follows :
Page 1 is a list of friend names: The user clicks one of these names, which
results in data from the database to fill up this session bean and calling the
second page ( which displays the data ).
Page 2 contains a form with breif information about the friend.
The user can edit this data and submit it. Page 2 can also call Page 3 and Page
4.
Page 3 contains a form with detailed information about the friend. The user
can edit this data and submit it, which results in Page 2 being called.
Page 4 contains business information about the friend.The user can edit this
data and submit it, which results in Page 2 being called.
All the information is stored in the session bean. Page 3 and Page 4 come back
to page 2 to finally submit the data.
Problem :
---------
Since there is a session bean used, on Page 1 if the user right clicks on two
or more friend links, the session bean gets intitially populated by the first
selected friend, and then by the second selected friend. The user gets two browser
windows, showing him different data, but the session bean actually has the second
selected friends data. Thus if the user submitted both the windows, the second
friends data would be updated twice, when actually the user intended to update
two different friends data.
I cannot use a page scope bean since I am shuffling between different pages.
How can I avoid the above problem ?
Thanx
Masaoud.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html