This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I am working on a web application in JSP model 1, which includes another jsp file as html form with values from bean defined in the parent JSP file, and posts request back to parent JSP to process the request. This JSP page has session data mixed up problem and I could not find what's wrong in the code. I was searching whole day but i didnt get the correct solution. If two users submitting values at the same time, session is mixing up and first userid getting second userid values Please try to solve this as soon as possible
Thanks and regards sekhar [ May 26, 2008: Message edited by: Bear Bibeault ]
Originally posted by Sekhar Chand: Please try to solve this as soon as possible
Firstly, please read this. Questions on the Ranch are answered by volunteers, and being pushy is a good way to drive them away rather than get them to help you.
Secondly, the types of problems you are describing are usually caused by threading issues in Java classes or the JSPs. Since you are using the really old-fashioned Model 1 structure, the problem is likely:
1) Instance variables in class instances that are shared across threads
2) The use of the declaration syntax in a JSP, e.g. <%! ... %>
At this point, I'd guess the problem is (2) since you haven't given any substantive data to go on. Do you use the declaration syntax in your JSPs? [ May 26, 2008: Message edited by: Bear Bibeault ]