Looks like you are trying for RESTful URLs, check out the REST plugin from
the plugins page. It's part of standard s2 distribution 2.0.11. Also, take a
look at Restful2ActionMapper javadocs.


Amit Rana wrote:
> 
>>From: Omkar patil
>>Amit,
>>
>>I am not sure if there is any easy way to achieve this. Is there any
>>specific reason you would like achieve this? One way could be provide
>>your own action mapper class by extending DefaultActionMapper and
>>overriding getUriFromActionMapping method to provide your own separator.
> Thanks for responding.
> 
> I want to use / as separator so that my urls are of form
> http://server/app/action/method
> for eg
> user/view
> user/add
> etc
> 
> I will try creating my own action mapper and give it a try, I might
> also try creating my own tag which uses/extends s:url
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Re%3A--struts--%3Cs%3Aurl%3E-action-and-method-separator-using-something-other-than-action%21method-tf4819893.html#a13792437
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to