1 17 package org.apache.geronimo.deployment.remote; 18 19 import javax.servlet.http.HttpServletResponse ; 20 import javax.servlet.http.HttpServletRequest ; 21 import javax.servlet.http.HttpServlet ; 22 import javax.servlet.ServletException ; 23 import java.io.IOException ; 24 25 30 public class BarfServlet extends HttpServlet { 31 protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException , IOException { 32 response.sendError(404); 33 } 34 35 protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException , IOException { 36 response.sendError(404); 37 } 38 } 39 40 | Popular Tags |