struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brice Ruth <>
Subject Re: ActionMapping - regexp pattern matching for path
Date Wed, 17 Dec 2003 20:27:04 GMT
No, I don't believe this is possible currently. Wildcards of any kind 
(extending to regexps) are not support for ActionMapping paths.

Sergey Proskurnya wrote:

>Hello to all,
>In Struts-1.1 it is possible to bind Actions to static URL path,
>but is it possible to bind Actions to the set of the paths,
>described by Java regular expression?
>For example:
>    <action	path="/users/.*"
>		    type="com.mysite.UserPageAction"
>		    scope="session"
>		    validate="false">
>		</action>
>I mean that in this case the requests for "/users/John/",
>"/users/Mary/" and etc. will be handled by "com.mysite.UserPageAction".
>Thanks for attention,
>      Sergey Proskurnya.
>To unsubscribe, e-mail:
>For additional commands, e-mail:

Brice D. Ruth
Sr. IT Analyst
Fiskars Brands, Inc.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message