my dog learned polymorphism*
The moose likes JSP and the fly likes fmt:setLocale problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "fmt:setLocale problem" Watch "fmt:setLocale problem" New topic
Author

fmt:setLocale problem

Lukas Okocim
Greenhorn

Joined: Jun 22, 2011
Posts: 2
Hello
i write somethink like that:
<fmt:setLocale value="de_DE"/>
<fmt:formatDate pattern="MMMM.yyyy" value="${date}" />

but its not working its possible set language for fmt.
Now i have got month names in english but i need month name in german language
thanks for response
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: fmt:setLocale problem
 
Similar Threads
formatDate issue
error message with default language
fmt setLocale
fmt:formatDate with an "en" locale formats like "en_US"
Date format problem when using URLConnection to a JSP (JSTL 1.1)