Is it possible to set arbitrary HTTP response headers from JSP pages? I
wanted to force users to log in to a particular JSP page through the
following code:
response.setHeader("WWW-Authenticate", "Basic realm=\"xyz\"");
response.sendError(response.SC_UNAUTHORIZED);
But the 'WWW-Authenticate' header doesn't show up in the output (JRun 2.3 +
JSP1.0b2). Should this work?
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".