Hi,
i think you have to set the http status code to 304 (not modified).
But I don't no if it works. Let me know if it works.
Andreas.
> Hi
>
> Is there any way of calling a servlet from an HTML form, but not creating a
> new page after the servlet has done what it has to do? I have a form that
> takes some info from the user and then i use a servlet to write to a file,
> but even if I don't put any reference to a response, after the form has
> been submitted I get a "document contains no data" alert. What I want to do
> is for the user to remain in the form page after the servlet has written
> the file, so he can use the form again if he wants to without having to use
> the back button.
>
> thanks
>
> Hector
>
> ___________________________________________________________________________
> 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
>
___________________________________________________________________________
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