Re: Recommends forceful disconnect to stop upload
Tom K <[email protected]> Wed, 1 Sep 2004 15:24:29 -0500
| Newsgroups | gmane.comp.java.sun.servlet |
|---|---|
| Message-ID | <005801c49061$af4ec8e0$6501a8c0@developer> |
I imagine you could do something with your HttpServletResponse response e.g. response.reset(); Tom Kochanowicz -----Original Message----- From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[email protected]] On Behalf Of Jim Peters Sent: Wednesday, September 01, 2004 1:38 PM To: [email protected] Subject: Recommends forceful disconnect to stop upload This was posted once to this list, without a reply. From the Java Servlet Programming - 2nd Edition, page 119 "...many servers implement a second option: try to send an error page, and forcefully disconnect if necessary." Does anybody know how to cause a servlet to "forcefully disconnect"? Thanks in advance, ________________________________________________________________________ ___ To unsubscribe, send email to [email protected] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.740 / Virus Database: 494 - Release Date: 8/16/2004 ___________________________________________________________________________ To unsubscribe, send email to [email protected] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html