摘要: 一、映射什么? 一个请求发送到 servlet 容器,servlet 容器会将当前请求的 url 路径减去 协议、端口号、contextPath,剩下 servletPath 就是用来做 url-pattern 映射的部分。 如: http://localhost:8080/myservlet/Di 阅读全文
posted @ 2016-08-02 16:24 solverpeng 阅读(2262) 评论(0) 推荐(2) 编辑