I just simply use

<%@ page contentType="text/html; charset=SJIS" %>

in the first line of JSP file.  Others do not
related to japanese.

>What does the page directive look like in your jsp files?
>
>> -----Original Message-----
>> From: A mailing list about Java Server Pages specification and
>> reference [mailto:[EMAIL PROTECTED]]On Behalf Of Ted Lau
>> Sent: Wednesday, August 23, 2000 8:24 AM
>> To: [EMAIL PROTECTED]
>> Subject: Display Japanese from database
>>
>>
>> I am working for a project that require to display some
>> japanese from oracle database using JSP.
>>
>> I have tried this scenario using servlet and it works fine.
>> However, when I port the program to JSP, the Japanese
>> cannot be interrupted and lots of "?" are displayed.
>>
>> I have also output the result returned from database to
>> System.out.  I find the output is the same in both JSP and
>> servlet cases.  So, I can sure that it is problem of JSP
>> to out.print this variable to HTML.
>>
>> In my JSP, I have already code tag to specify charset is SJIS.
>> Would any experts here give an assistance how I can solve
>> this problem.  My project is using IBM Websphere 3.5 and
>> Oracle 8i.
>>
>> Regards,
>> Ted Lau.
>>
>> ==================================================================
>> =========
>> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>> JSP-INTEREST".
>> Some relevant FAQs on JSP/Servlets can be found at:
>>
>>  http://java.sun.com/products/jsp/faq.html
>>  http://www.esperanto.org.nz/jsp/jspfaq.html
>>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>>
>
>===========================================================================

>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".

>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to