In Stripes 1.5 it's even easier. Just add this:

   <filter-mapping>
       <filter-name>DynamicMappingFilter</filter-name>
       <url-pattern>/*</url-pattern>
       <dispatcher>REQUEST</dispatcher>
       <dispatcher>FORWARD</dispatcher>
       <dispatcher>INCLUDE</dispatcher>
   </filter-mapping>

to web.xml after the Stripes declarations and it will pick up all your mappings automatically.

Aaron

farouk alhassan wrote:
    <servlet-mapping>
        <servlet-name>StripesDispatcher</servlet-name>
        <url-pattern>/xyz/*</url-pattern>
    </servlet-mapping>

--- On *Fri, 7/11/08, Will Hartung /<[EMAIL PROTECTED]>/* wrote:

    From: Will Hartung <[EMAIL PROTECTED]>
    Subject: [Stripes-users] Clean URLs
    To: "Stripes Users List" <[email protected]>
    Date: Friday, July 11, 2008, 8:40 AM

    If I have a url binding like this:

    /xyz/{id}/{event}/{arg}

    Will it map to all of these:

    /xyz
    /xyz/123
    /xyz/123/abc
    /xyz/123/abc/def

    ?

    Regards,

    Will Hartung


    -------------------------------------------------------------------------
    Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
    Studies have shown that voting for your favorite open source project,
    along with a healthy diet, reduces your potential for chronic lameness
    and boredom. Vote Now at http://www.sourceforge.net/community/cca08
    _______________________________________________
    Stripes-users mailing list
    [email protected]
    https://lists.sourceforge.net/lists/listinfo/stripes-users

------------------------------------------------------------------------

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
------------------------------------------------------------------------

_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to