摘要: 第一个servlet类 1.编写一个java类,继承HttpServlet类 2.重写doget和dopost方法 3.Servlet程序在tomcat服务器运行 访问过程: 1)在TestServlet的web.xml中查找是否有匹配的url-pattern的内容(/First) 2)如果找到匹配 阅读全文
posted @ 2016-07-24 21:03 布力丁胥普 阅读(103) 评论(0) 推荐(0) 编辑