tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: GET request instead of POST
Date Mon, 02 Jan 2006 15:02:11 GMT
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" <markt@apache.org>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Monday, January 02, 2006 9:20 AM
Subject: Re: GET request instead of POST


> khan.sajid@wipro.com 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
> 

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


Mime
View raw message