Hi,
Is there any way to do the equivalent of the following in a JSP without using scriptlet?
<% response.setContentType("text/plain"); %>
I can't simply use
<%@ page language="java" contentType="text/plain" %>
because I need to set the content-type in 2 places (each in a different branch of a ) and the JSP compiler will only allow one such directive.
Also, I can't write two separate JSPs and forward to one or the other in a servlet because the JSP is triggered by the container when an authentication failure occurs.
Cheers, Don