aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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%
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: set default language spring security
 
Similar Threads
taglib i18n wierd error
Spring security 3.0
A basic problem
Spring Security: Authorization with out Authentication
Does Spring Web Flow 2 have role based authorization to execute flow feature?