You want to look at wildcards:

http://struts.apache.org/2.x/docs/wildcard-mappings.html

That feature that Alex is refering to (coined advanced wildcards for
lack of imagination), is in trunk and has not been released yet.

musachy

On Mon, Sep 28, 2009 at 5:57 AM, Alex Siman <aleksandr.si...@gmail.com> wrote:
>
> Look here:
> http://www.nabble.com/parameters-in-url-td25602877.html
>
> Restful plugin is not so good as it supposed to be.
>
> struts-restful wrote:
>>
>> Does anyone know how to get the restful web service to call a method
>> different to show or edit.
>>
>> For example I have the following url
>>
>> http://localhost:8080/testeg/my/example/example-count/1/count.xml
>>
>> I want this to call the method count in my ExampleCountController. The URl
>> goes to the action and calls the setId method setting the Id 2 but does
>> not go to the count method
>>
>> Thanks
>>
>
> --
> View this message in context: 
> http://www.nabble.com/restful-URL-issue-tp25641701p25645156.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