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


JavaRanch » Java Forums » Frameworks » Spring
Bookmark "set default language spring security " Watch "set default language spring security " New topic
Author

set default language spring security

Clapa Danut
Greenhorn

Joined: May 05, 2011
Posts: 8
Hello,
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,
Danut.
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%
 
GeeCON Prague 2014
 
subject: set default language spring security