tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nelson, Tracy M." <>
Subject RE: Change the encoding format of xml outpu
Date Mon, 22 Jan 2007 16:26:22 GMT
| From: Sarah Parrott []
| Sent: Monday, 22 January, 2007 02:44
| I'm writing out xml in a servlet not a jsp page so I can't use the page
| declaration thing.

So how are you writing it out?  Just stuffing everything into a StringBuffer
and then writing it out to a file?  Using a Transformer (if so, try calling
setOutputParameter(OutputKeys.ENCODING,"UTF-8"))?  A JDOM XMLOutputter?

Apologies if there is some standard or canonical Tomcat method, but I didn't
find a reference to one.

The information contained in this message is confidential
proprietary property of Nelnet, Inc. and its affiliated 
companies (Nelnet) and is intended for the recipient only.
Any reproduction, forwarding, or copying without the express
permission of Nelnet is strictly prohibited. If you have
received this communication in error, please notify us
immediately by replying to this e-mail.

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message