• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Send information to client, which session is over  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,can you help me with this situation.
On the servlet I am closing one of the sessions ( sessionName.close() ) if some condition appears to be true. No problems with that. But I also would like to send message to client with information, why this connection is lost. Now after " sessionName.close() " client gets '500 The call failed on the server; see server log for details' and detailed information is in server.log as it should be. But how to implement pop-up message which will show "Connection is lost due to THIS SPECIFIC situation"? It seems that "caught" is getting only this 500th error.
 
I have gone to look for myself. If I should return before I get back, keep me here with this tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!