Case 1 - In a JSP only In a JSP you need to set the following and it will display your respective charset. Substitute xxx for your required character set. <%response.setContentType="charset=xxx"%>.
Case 2 - In an XML file and JSP If you have an XML file, be sure to define the encoding. Be sure to change the encoding to your Korean charset. <?xml version="1.0" encoding="ISO-8859-2"?> You will the need to write an XSL which you can apply to your XML file using Xalan and output the resulting HTML in a JSP. I assume your user-agent will be a web browser, although you can use WML, cHTML and VoXML or even another XML file. Quoted from http://forum.java.sun.com/thread.jsp?forum=45&thread=320408 Hope this helps With regards Rajesh Thiharie Aithent, New Delhi, India 91 124 6455511 x 109 Work > Rajesh, thanks for providing the idea to convert from JSP to servlet. > It's working now!! I used jspc to compile jsp file, but another problem occured: > jspc is not able to recognize Chinese character, does anyone know how to do it? > Or is there any way to set property in jspc, enabling jspc to recognize Chinese character, thanks! =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com