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
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
Hi,
I have a url for login
s:url id=loginurlid namespace=/ action=login method=input/s:url
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 !
Thanks,
Amit.
Amit Rana wrote:
I have a url for login
s:url id=loginurlid namespace=/ action=login
method=input/s:url
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
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.
-Omkar
5 matches
Mail list logo