Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
None
Description
Line:
<servlet-class>oorg.apache.tiles.web.startup.TilesServlet</servlet-class>
should be:
<servlet-class>org.apache.tiles.web.startup.TilesServlet</servlet-class>
And I suppose:
<url-pattern>*</url-pattern>
should be:
<url-pattern>/*</url-pattern>
As said in Servlet Specification 2.4:
• A string beginning with a '/' character and ending with a '/*' suffix is used
for path mapping.
• A string beginning with a '*.' prefix is used as an extension mapping.
• A string containing only the '/' character indicates the "default" servlet of
the application. In this case the servlet path is the request URI minus the context
path and the path info is null.
• All other strings are used for exact matches only.