Home
Examples
Tutorials
Errata
/ch6/complexValid/Controller.java
/ch6/complexValid/Controller.java
package ch6.complexValid; 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/complexValid/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