Has anyone used the two HTTP status code successfully from a servlet?

Being called from an HTML form, my testing servlet's doGet routine simply
sets the status code via:

    response.setStatus (response.SC_NO_CONTENT) ;

and returns.

The browser (IE 5.5 or Netscape 6) keeps trying to load a new page for a
long time, (the progress bar moves slowly or stalls,) until I press the
"refresh" button, although the previous content is kept unchanged as it is
supposed to.

With SC_RESET_CONTENT, the whole page is wiped out, while it should have
just reset the form.

Any suggestions? Thank you for your help.
Qiao

___________________________________________________________________________
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

Reply via email to