I came to know from one of my collegue that sometimes Apache redirects
a POST request to GET. Does anybody some more information on what cases
the Apache does so. Please let me know

Thanks
Sajid

-----Original Message-----
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Monday, January 02, 2006 7:51 PM
To: Tomcat Users List
Subject: Re: GET request instead of POST

[EMAIL PROTECTED] wrote:
> Any help on this ? , resending since I did not any replies

My first step would be to track down exactly where this GET request is
coming from. I would use TcpMon (from the Apache Axis project) to act as
a proxy in from of Apache to see exactly what your applet is sending. I
would also use Tomcat's RequestDumperValve to see what Apache is sending
to Tomcat. If you know the source of the GET, you are half way to fixing
it.

Mark
>
>
>
> 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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to