日期:2014-05-19 浏览次数:20703 次
<servlet> <servlet-name>servletname</servlet-name> <servlet-class>cn.com.servlet.MyServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet>
------解决方案--------------------
public class MyServlet extends HttpServlet { public void init() { } public void destroy() { } public service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { } }
------解决方案--------------------