Michael Rutherfurd wrote:
> I have a servlet that needs to receive a request but also requires
> no visible change to the web page. I'm using the following code at
> the end of the (very short) doPost method...
>
> response.sendError(HttpServletResponse.SC_NO_CONTENT);
Eek, I really discourage you from using this behavior - if the
request is correct and all actions the servlet has to do has been
performed succesfully, this in very bad idea to send back any error code.
Really there is no other way? (E.g. to use some applet to communicate
with server without visible changes on the page, etc.)
Regards,
J.Ch.
--
Ing. Jozef Chocholacek Qbizm Technologies, Inc.
Chief Project Analyst ... the art of internet.
________________________________________________________________
Kralovopolska 139 tel: +420 5 4124 2414
601 12 Brno, CZ http://www.qbizm.com fax: +420 5 4121 2696
___________________________________________________________________________
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