Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Struts
LocaleAction. Stay on current page after switching locale
Alex Indus
Greenhorn
Posts: 6
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I've added locale switching using LocaleAction class to my app, everything works perfect but is it possible to stay on the current page where user was before locale switching? Here is my action mapping:
<action path="/English" name="English" type="org.apache.struts.actions.LocaleAction"> <forward name="success" path="/index.jsp" /> </action> <action path="/Spanish" name="Spanish" type="org.apache.struts.actions.LocaleAction"> <forward name="success" path="/index.jsp" /> </action>
Thanks in advance
Consider Paul's
rocket mass heater
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Localization with Struts2 help, not persisting to any other pages
I18N PROBLEM
[SOLVED] Problem with LocaleAction + DynaActionForm
struts 1.beginner, code not working
Action class is not getting executed - please help
More...