This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
You shouldn't be using JSPs directly in a Struts application.
I have no idea how to override the default locale support; ActionSupport I think uses a locale support provider by default and I don't know if it's overridable in a trivial way--you'd have to check yourself.
The default package- and class-based I18N support is much easier to support and refactor than what you're describing though, and in a situation like this I'd sure reconsider your choice.
Joined: Jun 29, 2009
i am new to struts 2. once again thanks for your replay.
One reason to eliminate direct JSP access is that it keeps implementation details hidden: for example, if it's decided that the JSP actually *does* need an action backing, the URL exposed to the user doesn't have to change. Or if you decide to use FreeMarker for some of the pages. And so on.