servlet开发与基本配置

346 阅读1分钟

一、Servlet开发步骤

1.创建Servlet类,继承HttpServlet

2.重写service方法,编写程序代码

3.配置web.xml,绑定URL

二、Servlet访问方法