tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mitch Claborn <mi...@claborn.net>
Subject Re: Multiple invocation of servlet with the same URL request
Date Mon, 06 Jul 2009 20:03:59 GMT
Check the access logs - you may be actually getting multiple requests.


Mitch Claborn
mitch@claborn.net




Konstantin Kolinko wrote:
> 2009/7/6 Daniele Development-ML <daniele.dml@googlemail.com>:
>   
>> (...)
>> Looking at the log and all the printouts, I have noticed that the servlet is
>> invoked four times (four log entries in the database) instead of one. This
>> is also shown by the four System.out lines I found in the screen when
>> requesting the same URL.
>>
>> Anybody has any hint about this problem and how to resolve it?
>>
>> My idea is that the servlet might be relatively slow and thus Tomcat
>> reiterates the request. Is this right?
>>
>>     
>
> The user can reiterate the request if (s)he is tired of waiting, or
> happened to click the link several times. There are also some download
> accelerators that try to open several connections to download a file
> faster (asking for different byte ranges of the same file).
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>   

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message