Home
Examples
Tutorials
Errata
/ch6/complexInit/Controller.java
/ch6/complexInit/Controller.java
package ch6.complexInit; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @WebServlet(urlPatterns={"/ch6/complexInit/Controller"}) public class Controller extends HttpServlet { protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { ControllerHelper helper = new ControllerHelper(this, request, response); helper.doGet(); } protected void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { ControllerHelper helper = new ControllerHelper(this, request, response); helper.doPost(); } }
Contact the author