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:44:39 UTC

[jira] Created: (TILESSHARED-18) Configuration mistypes.

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.


[jira] Assigned: (TILESSHARED-18) Configuration mistypes.

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/TILESSHARED-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Petrelli reassigned TILESSHARED-18:
-------------------------------------------

    Assignee: Antonio Petrelli

> 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
>            Assignee: Antonio Petrelli
>            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.


[jira] Commented: (TILESSHARED-18) Configuration mistypes.

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/TILESSHARED-18?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43158#action_43158 ] 

Antonio Petrelli commented on TILESSHARED-18:
---------------------------------------------

Can you post a patch for it?

> 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.


[jira] Updated: (TILESSHARED-18) Configuration mistypes.

Posted by "Dzmitry Lazerka (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Resolved: (TILESSHARED-18) Configuration mistypes.

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/TILESSHARED-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Petrelli resolved TILESSHARED-18.
-----------------------------------------

    Resolution: Fixed

Not too bad for your first patch Dzmitry :-)

Your patch has been applied. You will see it in the next site deploy. Thanks a lot!

> 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
>            Assignee: Antonio Petrelli
>            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.


[jira] Commented: (TILESSHARED-18) Configuration mistypes.

Posted by "Dzmitry Lazerka (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/TILESSHARED-18?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43159#action_43159 ] 

Dzmitry Lazerka commented on TILESSHARED-18:
--------------------------------------------

I'll try, it will be the first open-source patch in my life. :)

> 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.