Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how can v stop the jws2.0 from hanging

 
Vishnu Murthy
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic