tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniele Development-ML <daniele....@googlemail.com>
Subject Multiple invocation of servlet with the same URL request
Date Sun, 05 Jul 2009 21:36:30 GMT
Hello everybody,
I'm developing a web application using Struts and Tomcat as deployment
container.
A servlet of the application retrieves a BLOB object (ca 1 - 4 MB) from the
local database and registers this activity in another table, of the same db.

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? How can I disable this or increase
the response time?

Many thanks,

Dan

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