You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by kh...@wipro.com on 2005/12/30 10:24:25 UTC

GET request instead of POST

Hi All,

We are using Apache as the web server and tomcat as the servlet
container using mod_jk.From the applets we are making HttpURLConnection
to a servlet using POST method ( we set using setRequestMethod("POST")
of HttpURLConnection).
In the servlet,we have implemented the doPost method and in doGet method
we throw error since we dont want applet to make GET request

This works fine,however sometimes after the session timeout happens (on
Apache) and when we try to relogin again , a GET request is fired and
error is thrown( I could see the GET request in apache access logs) but
we are not making any GET request at all
This happens only when the session times out, otherwise it work fine.
Can anybody throw some light on what could be happening here

Thanks in Advance
Sajid


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org