File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Spring and the fly likes set default language spring security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "set default language spring security " Watch "set default language spring security " New topic

set default language spring security

Clapa Danut

Joined: May 05, 2011
Posts: 8
i have a problem:
I user spring security to secure my application. The first page display is login.jsp and login.jsp is also the page displayed if authentication is unsuccessful. What i need is to set the default language somehow from configuration file or something like that. Is that possible?

Thank you,
Kr. Pallav
Ranch Hand

Joined: Mar 06, 2010
Posts: 32

I don't know exactly what are you asking , hopefully you want to do internationalization
below are code which set default language in spring with internationalization

For complete code you can refer Here

But this is on my assumption , if it is different than what you are asking , please clarify your question a bit more.

Kumar Pallav
SCJP 5: 86 %, SCWCD: 91%
I agree. Here's the link:
subject: set default language spring security
It's not a secret anymore!