A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
S2 URL formatting
Joined: Aug 31, 2004
Apr 12, 2009 22:03:28
Is it possible to S2 to map a custom URL to an action class? Ex.
--> home.action ??
I'm not a huge fan of having to end all my URLs with .action.
Joined: Sep 29, 2008
Apr 13, 2009 08:23:26
S2.1 sets the action suffix to ",.action" allowing blank ends. You can do the same thing yourself, although IIRC that has caused some issues with JS/CSS mapping. Or use the Convention and/or RESTful plugin.
I agree. Here's the link:
subject: S2 URL formatting
how to set the VO Object in response.
Struts2 Issue with localization: Messages not picked up from properties file for forward actions.
what do I need to change in web.xml to omit the .action extension?
Struts passing info from the stack to actions as pass by value? causing severe issues.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014