Re: [struts] action and method separator using something other than action!method

2007-11-16 Thread Omkar Patil
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 th

Re: [struts] action and method separator using something other than action!method

2007-11-16 Thread Amit Rana
>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

Re: [struts] action and method separator using something other than action!method

2007-11-15 Thread Dale Newfield
Amit Rana wrote: I have a url for login method="input"> This generates a url like http://localhost:8080/myapp/login!input.action Is there a way to tell s:url to use _ or / as separator and not ! In struts.xml you can define any name you want for your action, which is really just an alias