美文网首页
servlet模板

servlet模板

作者: mtl6906 | 来源:发表于2018-05-06 09:56 被阅读0次
    import java.io.IOException;
    import java.io.PrintWriter;
    
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    
    public class Index extends HttpServlet
    {
    
            @Override
            public void doGet(HttpServletRequest request,HttpServletResponse response) throws IOException,ServletException
            {
    
            }
            @Override
            public void doPost(HttpServletRequest request,HttpServletResponse response) throws IOException,ServletException
            {
                    doGet(request,response);
            }
    }
    

    相关文章

      网友评论

          本文标题:servlet模板

          本文链接:https://www.haomeiwen.com/subject/oziyrftx.html