About Question enthuware.jwpv6.2.991 :
Posted: Thu Jan 19, 2012 7:24 am
The last option:
doesn't directly work because the out implicit variable is of type JspWriter, which is not a PrintWriter. Instead, I tried the following which kind of works (had to also set the buffer size to 0 otherwise it gets flushed before the rest of the JSP content):
Code: Select all
exception.printStackTrace(out)
Code: Select all
exception.printStackTrace(response.getWriter())