Putting any logic in applets seems to me an invitation to resource permission errors..more specifically.. Why would you elect to code an applet when there are are a number of tag libraries available for jsp pages to select from.. is/are there specific reason(s) why are you using applet(s) instead of JSP page(s)? That said..Do you know for sure this issue is not a permissions problem with your applet ?

Martin-
----- Original Message ----- From: "Mark Thomas" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Monday, January 02, 2006 9:20 AM
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]



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

Reply via email to