aspose file tools
The moose likes Struts and the fly likes Struts 2 URL Rename Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Struts 2 URL Rename" Watch "Struts 2 URL Rename" New topic
Author

Struts 2 URL Rename

Rishi Kanth
Ranch Hand

Joined: May 23, 2006
Posts: 43
Hi team,

I have wonderfully working struts2 application, but action name in url says a lot about the application. for example

http://localhost:8080/dbr/Login_input.action ( Login Action and input method).

How can I remove the action name and replace it with JSP file name. In my struts config file,


so I want the URL to look like

http://localhost:8080/dbr/login.jsp

Thanks,
Anbarasu Aladiyan
Ranch Hand

Joined: Jun 02, 2009
Posts: 182

Have a look at this link. also please be aware of disadvantages of using this.


A.A.Anbarasu
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 2 URL Rename
 
Similar Threads
Struts 2 struts.xml not redirecting
Compiler error in Action class - configuring data source in struts-config.xml. Please help!
Jsp is not displaying in Struts2
Help: Getting Error Message "Not able to load configuration for specified action"
Struts2 Issue with localization: Messages not picked up from properties file for forward actions.