tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bing Zhang <>
Subject how to block
Date Thu, 06 Feb 2003 18:09:56 GMT
Hi all:

	I have one problem right now, which many people here on the list
should have already experienced.

	For example, some post from browser take some time on the server
side(servlet code) to process.  Often times impatient user will click
multiple times on the "submit" button, Or "malicious" user will hold "Enter"
key to request it million times.  What's going to happen on the server side
is:  multiple threads onto the same servlet would be launched and resources
would be used up, like connections, and CPU processing time.  

      So what's a general approach to prevent this ??  No matter the
solution is on the client side (HTML/JavaScript), the server
side(servlet/JSP), or combined.  Can you guys pass some experience, ideas,
thoughts on this ??

	Thank you so much. 


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message