struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Omkar Patil <>
Subject Re: [struts] <s:url> action and method separator using something other than action!method
Date Fri, 16 Nov 2007 12:43:02 GMT

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
>>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:
> For additional commands, e-mail:

View this message in context:
Sent from the Struts - User mailing list archive at

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

View raw message