首页 > 其他 > 详细

Servlet的基本架构

时间:2018-10-05 10:21:23      阅读:113      评论:0      收藏:0      [点我收藏+]

Servlet的基本架构:


package test;



import java.io.IOException;



import javax.servlet.ServletException;

import javax.servlet.http.HttpServlet;

import javax.servlet.http.HttpServletRequest;

import javax.servlet.http.HttpServletResponse;



public class ServletName extends HttpServlet {

    public void doPost(HttpServletRequest request, HttpServletResponse response)

            throws ServletException, IOException {

    }



    public void doGet(HttpServletRequest request, HttpServletResponse response)

            throws ServletException, IOException {

        }

}

Servlet的基本架构

原文:https://www.cnblogs.com/yuyu666/p/9743966.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!