Wataru,
I'm not sure what you're looking for. It seems you are trying to match the
first wildcard-matched value with the id and the actionName? I've never
tried this, but perhaps you could split the two values like this?
<action name="{1}/{id}/detail" >
<result type="chain">
<param name="actionName">{1}</param>
</result>
</action>
Ryan
2010/10/17 <[email protected]>
> Dear struts Users.
>
> I've been using Wildcard-mapping url and result type=chain.
> @ struts 2.2.1.
>
> this action's parameter (id) is Null.
> <action name="/*/detail" >
> <result type="chain">
> <param name="actionName">detail</param>
> <param name="id">{1}</param>
> </result>
> </action>
>
> But,Advanced Wildcard-Mapping use Good Result.
> this action's parameter (id) is value.
> <action name="/{id}/detail" >
> <result type="chain">
> <param name="actionName">detail</param>
> </result>
> </action>
>
> https://cwiki.apache.org/WW/wildcard-mappings.html
>
> = use constant =
> <constant name="struts.enable.SlashesInActionNames" value="true"/>
> <constant name="struts.mapper.alwaysSelectFullNamespace" value="false"/>
> <constant name="struts.patternMatcher" value="regex" />
>
> Could you teach why not to pass it for the information useful in the
> future?
>
> Thank you.
> --
> Wataru <[email protected] >
>
>
> BlackBerry from DOCOMO
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>