protected void initializeAndInvokeJsp(Class jspClass, ServletConfig servletConfig,
HttpServletRequest request, HttpServletResponse response)
throws InstantiationException, IllegalAccessException, ServletException, IOException {
HttpServlet servlet = (HttpServlet) jspClass.newInstance();
servlet.init(servletConfig);
servlet.service(request, response);
if (pageContext.getException() != null) {
throw new RuntimeException(pageContext.getException());
}
}