Re: [Proposal] Default Encoding option for JSP/Tomcat in server.xml or web.xml

2001-05-12 Thread Alec Yu
From: "Craig R. McClanahan" <[EMAIL PROTECTED]> > Servlet Specification 2.3 (Proposed Final Draft 2), Section 5.4 (p. 44): > > 'The default encoding of a response is "ISO-8859-1" > if none has been specified by the servlet programmer.' I am a servlet programmer also, why can't I spe

[Proposal] Default Encoding option for JSP/Tomcat in server.xml or web.xml

2001-05-11 Thread Alec Yu
I read some code in catalina & jasper, and found that: There is a setCharacterEncoding() for servlet request now; but I greped all Tomcat code, and found nowhere called it. It means, by default, Tomcat use a default encoding of '8859_1'. There is no option in server.xml/web.xml for tomcat to se