* To have a servlet return nothing, add this to your code:
resp.setStatus(HttpServletResponse.SC_NO_CONTENT);
-----Original Message-----
From: R.Ramaprabhu [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, March 04, 1999 1:59 AM
To: [EMAIL PROTECTED]
Subject: Retaining current page after post?
Hi Guys,
Is there any way to retain the current HTML page even after the form is
submitted to servlet.
To be more Clear if I am working on a form elements of Page A and after
some data entry it is posted to a servlet .if
there is error in the data entered (found after a validation against the
DB) I want a error message to be shown over Page A itself, other wise show
page B.
So is there any way to retain Page A till such validations are made.
<< File: ATT00005.htm >>
___________________________________________________________________________
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