Posted By:
Bozidar_Dangubic
Posted On:
Sunday, December 2, 2001 08:48 AM
you are writing the response in
PrintWriter out = res.getWriter();
res.setContentType("text/html");
then you are trying to forward to a JSP,
but you cannot do that. once get the writer to a response object and write content to it, you no longer can forward. it certainly is a strange error message that you are getting, but remove the code I copied above (writing to an output before forwarding) because that is not going to work. I am not even sure what were you trying to accomplish with those two lines of code, writing the response and then forwarding the response to a JSP to write more response.... can't be done!