wood burning stoves 2.0*
The moose likes GWT and the fly likes Send information to client, which session is over Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Send information to client, which session is over" Watch "Send information to client, which session is over" New topic
Author

Send information to client, which session is over

Kakaja Razinica
Greenhorn

Joined: Oct 31, 2012
Posts: 1
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.
 
 
subject: Send information to client, which session is over
 
Similar Threads
Implementing java server
Client Server File transfer
how to write our own driver in java??
is EJB(stateful and stateles) and JMS connection oriented(TCP/IP) or connectionless?
Can we use JMS messaging for inbound connection barred Server?