Usually these situations happen because different servlets and JSPs are sharing objects that aren't thread-safe. Remember that the JSP/servlet engine ensures only that a specific JSP or servlet will be accessed by one thread at a time. You might need to synchronize on any shared objects to make sure that only one user at a time can access the object. |