aspose file tools*
The moose likes Spring and the fly likes [Spring MVC] Combining validation and internalization/localization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "[Spring MVC] Combining validation and internalization/localization" Watch "[Spring MVC] Combining validation and internalization/localization" New topic
Author

[Spring MVC] Combining validation and internalization/localization

Tim Van Dijck
Greenhorn

Joined: Oct 22, 2009
Posts: 2
Hi

I'm developing a web-application with Spring MVC.

For validation functionality I'm using the Spring Bean Validation Framework (with annotation like explained in this tutorial).
And to make my web-app available in multiple languages I followed this tutorial.

Now I can't seem to find out how I can combine these two concepts so I have my error messages in multiple languages.

Can anyone help me to get started with this?
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

Here's your answer

http://www.intertech.com/Blog/post/Spring-Framework-JSR-303-Validation-and-Custom-Messages.aspx

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [Spring MVC] Combining validation and internalization/localization
 
Similar Threads
Can't setup basic spring application
*IGNORE* SimpleFormController. Database validation in onSubmit(). Problem calling showForm()
JSR 286/MVC Support in Spring 3.0
What is the soul purpose of Tapestry
Does Spring Web Flow 2 have role based authorization to execute flow feature?