You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Dzmitry Lazerka (JIRA)" <ji...@apache.org> on 2008/02/07 20:58:39 UTC
[jira] Updated: (TILESSHARED-18) Configuration mistypes.
[ https://issues.apache.org/struts/browse/TILESSHARED-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dzmitry Lazerka updated TILESSHARED-18:
---------------------------------------
Attachment: configuration.apt.patch
Here is the patch (attached).
> 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
> Attachments: configuration.apt.patch
>
>
> 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.