• Post Reply Bookmark Topic Watch Topic
  • New Topic

help for simple web application  RSS feed

 
devayani Devasthali
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am creating a simple web application. I need help for the following -
1) My application will be supporting two languages English and German.
2) How to print messages and other text in German ?
3) How to print messages in log?
ur help will be appreciated.
thanx in advance
regards
Devayani
 
Purushoth Thambu
Ranch Hand
Posts: 425
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For printing the messages you can take a look at java.util.ResourceBundle
and for Servlet/JSP output in German you need to set the contentType charset to the appropriate value. If you google for java web application internationalization you will find some good tutorials.

http://java.sun.com/developer/technicalArticles/Intl/MultilingualJSP/
is from Sun site.
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to Java in General (intermediate)...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!