You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Pankaj Chhaparwal <pc...@Houston.GeoQuest.SLB.COM> on 2001/08/15 02:30:18 UTC
Strange problem- Servlet getting called twice unnecessarily-
Please help
Hi,
I have a servlet whose doPost() method is getting called twice even thought
the servlet is called only once from a particular jsp. This behavior is
highly inconsistent. Also there is a statement request.getSession(true) in
the doGet method. For the same request, do the problem of the doGet()
method being called twice , the request.getSession(true) is giving two
different sessions.
The above behavior is inconsistent. The probability of this error is 70%.
Any help on this will be greatly appreciated.
Regards,
Pankaj