jQuery in Action, 2nd edition*
The moose likes JSP and the fly likes cannot display japanese kanji in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "cannot display japanese kanji in jsp" Watch "cannot display japanese kanji in jsp" New topic
Author

cannot display japanese kanji in jsp

yo nara
Ranch Hand

Joined: Apr 03, 2002
Posts: 35
hi all
i have a page containing some kanjis.if i create an html page with encoding Shift_JIS and write kanji in that and put the html in weblogic server and if i access the page through http i can see the contents.
but if i write a jsp with same encoding and try to access the same contents i get a question mark sign.
can anybody help me out.
thnx in advance.
[ March 29, 2004: Message edited by: Bear Bibeault ]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
taking a guess:

And by the way URGENT does nothing to speed up your chances of getting answers, it usually hurts them..
Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60782
    
  65

I have removed the word "urgent" from the subject.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
yo nara
Ranch Hand

Joined: Apr 03, 2002
Posts: 35
sorry for writing the word "Urgent"
i have already tried the code you have given but it doesnt work if you want to try i can mail you the sample code also.
waiting for reply
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: cannot display japanese kanji in jsp
 
Similar Threads
difference between System.out.println and out.println in jsp
how to save a webpage with struts code as pdf in java?
how to save a jsp page as pdf in java?
JSP /Servlet - Printing issue
Problem in displaying the double byte kana characters in csv