File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Internationalization in Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Internationalization in Servlet" Watch "Internationalization in Servlet" New topic

Internationalization in Servlet

daitkarsachin paatil

Joined: Apr 07, 2010
Posts: 9
Hi all,
I need to build site which will be MARATHI,HINDI,FRENCH,GERMAN and JAPANESE languages. i used Resource bundle in servlet to display french language but it is not working properly..I am setting encoding to UTF-8 but problem still persists.
Can anybody help me with some sample code so that i can find out where exactly i'm going wrong.
Venkata Kumar
Ranch Hand

Joined: Apr 16, 2008
Posts: 110

Please post your code using code tags. That will be helpful to analyze the problem

SCJP 5.0, SCWCD 5, preparing for SCDJWS
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575
Mark E Hansen
Ranch Hand

Joined: Apr 01, 2009
Posts: 650
Using JSTL (Java Standard Tag Library) makes this real easy. I suggest the book JSTL in Action from Manning Publications. In addition to all the other great content in this book, it has a great section on internationalization and using resource bundles.
subject: Internationalization in Servlet