How can I detect that the client side of a tomcat servlet request has disconnected? I've read that I should do a response.getOutputStream().print(), then a response.getOutputStream().flush() and catch an IOException, but is there a way I can detect this without writing any data?
EDIT:
The servlet sends out a data stream that doesn't ne...
Recently one of our Tomcat servers started having trouble deploying WAR files. We have an existing version of the WAR in the webapps directory as well as the unpacked version. When we drop a new version of the WAR file into the webapps directory, it does not unpack the new WAR and the application dies. If I delete the old unpacked versio...
Hi My question is aimed at understanding the application of the Tomcat 5(s) web server, I'm student who's still learning so bare with me if I sound ignorant.
I was wondering if it was posible to maintain a directory structure within the application folder in side webapps folder, i.e. I have created a folder called ITC357, which acts as ...