• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do i access locales created in EJB from JSP.

 
Erin Baron
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do i access locales created in EJB from JSP.
 
Erin Baron
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I kindly request any of you guys to answer this question.
 
George Brown
Ranch Hand
Posts: 919
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure why you'd want to get locales from the EJB. If I was to do something like that I wouldn't use an EJB.
I'd use a servlet/JSP combination, with either resource bundles -or- a JSP page per locale (Servlet serving up the relevant one) -or- pass a value object from the servlet to the JSP page with locale info therein.
A design decision would need to be made depending upon what you wanted to do.
You may want to post a question on this topic to the Servlets & JSPs forum.
I hope that helps.
 
Erin Baron
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
George,
I mean to say , I have a documentation saying
A)Architecture
1)Supporting multiple locales from single Platform
2)Utilization of session variables, personalization objects, cookies, etc........
B)String/content externlization
1)Recommnedation
2)code sample
3)known issues
C)NLS
i)Number Formatting
1)Recommnedation
2)code sample
3)known issues
ii)Currency
1)Recommnedation
2)code sample
3)known issues
iv)Date
1)Recommnedation
2)code sample
3)known issues
v)Sorting/collation
1)Recommnedation
2)code sample
3)known issues
vi)2Byte Characters
1)Recommnedation
2)code sample
3)known issues

vii)Unicode/UTF8 Compliance
1)Recommnedation
2)code sample
3)known issues

What i need is a document that speaks about Java, JSP and EJB in relation to the topics in this outline.
Any help please as how can i implement it.

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic