aspose file tools
The moose likes Struts and the fly likes Transfer Struts validation script from JSP to .js file keeping localization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Transfer Struts validation script from JSP to .js file keeping localization" Watch "Transfer Struts validation script from JSP to .js file keeping localization" New topic
Author

Transfer Struts validation script from JSP to .js file keeping localization

Alex Sh
Greenhorn

Joined: Dec 10, 2012
Posts: 7
Hi, coderanch!

I use Struts 1.x and have problem with client side validation. Struts generate validation script in JSP, i transfer this script from JSP to .js file, that it was cashed in client computer. But localisation doesn't save. For other language i need generate new validation script - it's problem. My boss give me advice: create new jsp when will be generate validation script. How do transfer Struts validation script from JSP to .js file keeping localization?
Alex Sh
Greenhorn

Joined: Dec 10, 2012
Posts: 7
thenx all for the first ansveres! I found ansver by himself!
Alex Sh
Greenhorn

Joined: Dec 10, 2012
Posts: 7
Alex Sh wrote:Thenk all for the farst ansveres! I found ansver by himself!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Transfer Struts validation script from JSP to .js file keeping localization