I want to send an HTTP header from a JSP page.  I call
response.setHeader() in the JSP page, near the top of the page, and it
seems to work but the header is not received by the client.  I suspect
the header is not being sent because the JSP servlet has already opened
its output stream.  Does anybody know how to do this?  I am using JRun
2.33.

The caller of the JSP page will not be a web browser but will instead be

a client application.  We want to return our own application-specific
error and status codes in the HTTP header so we don't need to mix our
body text with header information.

Thanks for you help.

Jim Conning

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to