• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

I18N in JSP

 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Usually I work on Swing UI and simple servlets. So please bear with me!

I have an application in Swing. for i18n I have used resource bundles. I also have a helper class which I use for the language and text related stuff. So far so good. Works smooth as silk.

Yesterday, I was told, that our management, in their infinite wisdom, have decided it would make sense to have a web based UI after all! I have just come out of a meeting where I tried (unsuccessfully) to convince them to go for JWS approach and make life easier for my team.

Looks like we might be able to pull it off, on the face of tight deadlines if not for the i18n stuff. I can use the backing bean approach for the text and language stuff. I am completely at a loss how to approach the orientation problem. Anybody got any ideas how it's done?
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Look at chapter 8 in the JSTL specification.
There are tags designed to handle this.

http://jcp.org/aboutJava/communityprocess/final/jsr052/index2.html
[ November 20, 2008: Message edited by: Ben Souther ]
 
Maneesh Godbole
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you Ben.You are a life saver.
[ November 20, 2008: Message edited by: Maneesh Godbole ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic