Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Internationalization (JSP)  RSS feed

 
Abhijeet Ravankar
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I want to make JSP pages in Japanese language. I don't want to type the unicode values, but directly type-in the Japanese characters in JSP source page. Is there any special JSP tag or HTML tag which I should use to do so? When this JSP gets compiled into a Servlet, will it cause problem? Thank you.
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you talk about "internationalization", I immediately think about the JSTL's fmt taglib.

After reading the topicstart, this is probably not what you want (although it may be very useful at end). Regarding to your actual problem, you need to make sure that the @pageEncoding supports the characters used and that the file is saved in the same encoding (I must admit that I never tried it, but this is all what theory should answer).
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"japan java " welcome to Javaranch
please check your private messages for an important administrative matter. You can check them by clicking the My Private Messages link above.
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 37242
519
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Abhijeet Ravankar wrote:Hello,

I want to make JSP pages in Japanese language. I don't want to type the unicode values, but directly type-in the Japanese characters in JSP source page. Is there any special JSP tag or HTML tag which I should use to do so? When this JSP gets compiled into a Servlet, will it cause problem? Thank you.

Why wouldn't a normal JSP work for you? You have a JSP that just happens to be in Japanese.
 
Abhijeet Ravankar
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

Thanks for your reply.
The problem has been solved.

Thanks a lot.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!