所以要把 web.xml 改為 2.5
2.5:
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.5"xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd">
Reference:
http://www.coderanch.com/t/364456/Servlets/java/url-pattern-alternatives
No comments:
Post a Comment