I tried to document that feature here:

http://cwiki.apache.org/confluence/display/WW/Wildcard+Mappings

If you are not using struts built from trunk, then you need to define:

<bean type="com.opensymphony.xwork2.util.PatternMatcher"
name="named-variable"
class="com.opensymphony.xwork2.util.NamedVariablePatternMatcher"/>

it is already defined in struts-default.xml in trunk.
musachy


On Fri, Jan 16, 2009 at 12:57 PM, dusty <dustin_pea...@yahoo.com> wrote:
>
> Check out this discussion:
>
> http://www.nabble.com/REST-plugin-URL-syntax-td17855192i20.html
>
> and this link:
>
> http://www.blueskyminds.com.au/url-hierarchy/
>
>
>
> dusty wrote:
>>
>> The short answer is no.   You can create a custom ActionMapper to tell
>> Struts how you want URLs parsed and how you want Actions invoked.
>>
>> There has been a lot of discussion about extended properties and custom
>> ActionMappers in previous discussions.  See if you can find enough
>> information there to implement the URLs the way you want.
>>
>>
>> Ron Chan wrote:
>>>
>>> Does it allow for extended parameters?
>>>
>>> http://site/app/customers/69/product/123
>>>
>>> or
>>>
>>> http://site/app/discussions/2009/01/12/some-topic
>>>
>>>
>>>
>>>
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/REST-plugin-question-tp21496295p21504977.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to