1 package com.quadcap.http.servlets.jsp; 2 3 40 41 import java.io.IOException ; 42 43 import javax.servlet.Servlet ; 44 import javax.servlet.ServletConfig ; 45 import javax.servlet.ServletException ; 46 47 import javax.servlet.http.HttpServlet ; 48 import javax.servlet.http.HttpServletRequest ; 49 import javax.servlet.http.HttpServletResponse ; 50 51 import javax.servlet.jsp.HttpJspPage ; 52 53 58 public abstract class JspPage extends HttpServlet implements HttpJspPage { 59 public JspPage() {} 60 61 public void jspInit() {} 62 public void jspDestroy() {} 63 64 public abstract void _jspService(HttpServletRequest request, 65 HttpServletResponse response) 66 throws ServletException , IOException ; 67 68 public void init(ServletConfig config) throws ServletException { 69 super.init(config); 70 } 71 72 public final void service(HttpServletRequest request, 73 HttpServletResponse response) 74 throws ServletException , IOException 75 { 76 _jspService(request, response); 77 } 78 79 } 80 | Popular Tags |