XML/XSL japanese double-byte character problem with Tomcat 4.0 Apache

2002-04-11 Thread Evan Child
I'm using Apache and mod_webapp to go to Tomcat 4.0.1, which generates xml, and then using a filter transforms that using an xml stylesheet into html. My problem is that when the style sheet has Japanese in it, the characters get corrupted when it's passed back to Apache. If I write the

RE: XML/XSL japanese double-byte character problem with Tomcat 4.0 Ap ache

2002-04-11 Thread Evan Child
Figured it out. The problem was that you have to set the content type (including the charset) before you actually call response.getWriter(). Otherwise, the print writer defaults to the default character encoding for the platform. Evan -Original Message- From: Evan Child [mailto:[EMAIL

RE: Foreing Character encoding from jsp form (Character Encoding doesn't work)

2002-04-11 Thread Evan Child
What browser are you using to submit the form? Before you start getting parameters, you need to do a request.setCharacterEncoding(UTF-8); I couldn't understand from below if you're already doing that. Assuming that you ultimately want the characters to end up in a utf-8 encoding. If the

RE: Foreing Character encoding from jsp form (Character Encoding doesn't work)

2002-04-11 Thread Evan Child
() ; } -Original Message- From: Lee Chin Khiong [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 6:23 PM To: 'Tomcat Users List' Subject: RE: Foreing Character encoding from jsp form (Character Encoding doesn't work) Yes, can I have it too. Thanks. -Original Message- From: Evan Child

RE: How to make a URL map to a servlet ?

2001-09-26 Thread Evan Child
Put the fully qualified name of the servlet into the servlet-class element under servlet ex. servlet-classdataview.servlet.Select/servlet-class That is the correct way to do it. Evan -Original Message- From: James Adams [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 26, 2001