Then your JSP is trying to gett the writer.
You can get one or the other, not both.
-Tim
Abid Ali Teepo wrote:
Hi
Anyone recognize this exception :
org.apache.jasper.JasperException: getOutputStream() has already been called for this response
I get this exception when using requestDispatcher to forward to a html file. The exact same code works when i forward to a jsp file ??
Here is some code : pageWanted is "/secure/safe.html"
if(pageWanted!=null && !"".equals(pageWanted)) { rd = request.getRequestDispatcher(pageWanted); rd.forward(request, response); } else { rd = request.getRequestDispatcher("/secure/menu.jsp"); rd.forward(request, response); }
Any suggestions ?
Abid
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
