Configuration mistypes.
-----------------------
Key: TILESSHARED-18
URL: https://issues.apache.org/struts/browse/TILESSHARED-18
Project: Tiles Shared Resources
Issue Type: Bug
Components: site
Environment: http://tiles.apache.org/tutorial/configuration.html
Reporter: Dzmitry Lazerka
Priority: Trivial
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.