1 17 package org.apache.geronimo.tomcat.app; 18 19 import java.io.IOException ; 20 import javax.servlet.Servlet ; 21 import javax.servlet.ServletConfig ; 22 import javax.servlet.ServletException ; 23 import javax.servlet.ServletRequest ; 24 import javax.servlet.ServletResponse ; 25 26 29 public class Servlet1 implements Servlet { 30 31 private ServletConfig servletConfig; 32 33 public void init(ServletConfig config) throws ServletException { 34 servletConfig = config; 35 } 36 37 public ServletConfig getServletConfig() { 38 return servletConfig; 39 } 40 41 public void service(ServletRequest req, ServletResponse res) throws ServletException , IOException { 42 43 } 44 45 public String getServletInfo() { 46 return null; 47 } 48 49 public void destroy() { 50 51 } 52 } 53 | Popular Tags |