| package org.apache.jsp; |
| |
| import jakarta.servlet.*; |
| import jakarta.servlet.http.*; |
| import jakarta.servlet.jsp.*; |
| |
| public final class nullErrorPage_jsp extends org.glassfish.wasp.runtime.HttpJspBase |
| implements org.glassfish.wasp.runtime.JspSourceDependent { |
| |
| private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory(); |
| |
| private static java.util.List<String> _jspx_dependants; |
| |
| private org.glassfish.jsp.api.ResourceInjector _jspx_resourceInjector; |
| |
| public java.util.List<String> getDependants() { |
| return _jspx_dependants; |
| } |
| |
| public void _jspService(HttpServletRequest request, HttpServletResponse response) |
| throws java.io.IOException, ServletException { |
| |
| PageContext pageContext = null; |
| HttpSession session = null; |
| Throwable exception = org.glassfish.wasp.runtime.JspRuntimeLibrary.getThrowable(request); |
| if (exception != null) { |
| response.setStatus((Integer)request.getAttribute("jakarta.servlet.error.status_code")); |
| } |
| ServletContext application = null; |
| ServletConfig config = null; |
| JspWriter out = null; |
| Object page = this; |
| JspWriter _jspx_out = null; |
| PageContext _jspx_page_context = null; |
| |
| try { |
| response.setContentType("text/html"); |
| response.setHeader("X-Powered-By", "JSP/3.0"); |
| pageContext = _jspxFactory.getPageContext(this, request, response, |
| null, true, 8192, true); |
| _jspx_page_context = pageContext; |
| application = pageContext.getServletContext(); |
| config = pageContext.getServletConfig(); |
| session = pageContext.getSession(); |
| out = pageContext.getOut(); |
| _jspx_out = out; |
| _jspx_resourceInjector = (org.glassfish.jsp.api.ResourceInjector) application.getAttribute("com.sun.appserv.jsp.resource.injector"); |
| |
| out.write("\n"); |
| out.write("\n"); |
| out.write("\n"); |
| out.write((java.lang.String) org.glassfish.wasp.runtime.PageContextImpl.evaluateExpression("${pageContext.exception}", java.lang.String.class, (PageContext)_jspx_page_context, null)); |
| out.write('\n'); |
| out.write((java.lang.String) org.glassfish.wasp.runtime.PageContextImpl.evaluateExpression("${pageContext.errorData.throwable}", java.lang.String.class, (PageContext)_jspx_page_context, null)); |
| out.write('\n'); |
| } catch (Throwable t) { |
| if (!(t instanceof SkipPageException)){ |
| out = _jspx_out; |
| if (out != null && out.getBufferSize() != 0) |
| out.clearBuffer(); |
| if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); |
| else throw new ServletException(t); |
| } |
| } finally { |
| _jspxFactory.releasePageContext(_jspx_page_context); |
| } |
| } |
| } |