GeeCON Prague 2014*
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


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: 17250
    
    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
 
GeeCON Prague 2014
 
subject: [Spring MVC] Combining validation and internalization/localization