> Be sure that
> res.setStatus(HttpServletResponse.SC_NO_CONTENT);
> is placed just after the method service like :
>
> public void service(HttpServletRequest req, HttpServletResponse res)
> throws IOException, ServletException {
> res.setStatus(HttpServletResponse.SC_NO_CONTENT);
> etc ....
>
> With me it works well, nothing back to the client when the client calls
> this servlet ..: a blank page !!
> I am in ServletExec also with IIS 5.0 ..
This will return a "204 No Content" header, which some browsers
will react to by doing nothing. However, some browsers will pop up a
dialog box, which is probably not what you want.
You might want to dig the HTTP spec and see all the possible
headers. However, I doubt that anything, short of writing your own
custom implementation, will do what you want.
Steven J. Owens
[EMAIL PROTECTED]
___________________________________________________________________________
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