File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes how can v stop the jws2.0 from hanging Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "how can v stop the jws2.0 from hanging" Watch "how can v stop the jws2.0 from hanging" New topic
Author

how can v stop the jws2.0 from hanging

Vishnu Murthy
Ranch Hand

Joined: Jan 04, 2001
Posts: 56
My program is written to fetch the data from the database depending up on the search criteria given by the client.If a client is clicking on the submit button continuesly, with out giving time for retival then my webserver (javawebserver 2.0) is getting hanged.
how do i stop him from doing this. what could be the problem, is it with the code or with the server.
prakash muthu
Ranch Hand

Joined: Sep 06, 2000
Posts: 75
Hi,
You can restrict by using some variable in your code itself. consider the varible as flag kind. set and check the value in the button code.
I think it will become useful to you.
with regards
Prakash
(prakashem@rediffmail.com)


Prakash.M<BR>Bangalore- India<BR>(prakashem@rediffmail.com)
 
jQuery in Action, 2nd edition
 
subject: how can v stop the jws2.0 from hanging