Java Reference
In-Depth Information
F
IGURE
18.1
Output of the
testerror.jsp
example.
To see how this error is handled in the actual compiled code, take a look at the
_jspService()
method generated from the
testerror.jsp
example. The following code snippet contains the
generated
_jspService()
method:
public void _jspService(HttpServletRequest request,
HttpServletResponse response)
throws IOException, ServletException {
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
String _value = null;
try {
if (_jspx_inited == false) {
_jspx_init();