DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39308>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39308 Summary: jasper compiles included html differently under 4.0.6 and 5.0.19 Product: Tomcat 5 Version: 5.0.19 Platform: PC OS/Version: Windows XP Status: NEW Severity: critical Priority: P2 Component: Jasper AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] JSP page has static html includes and data from mysql table. Html saved as utf-8 and data saved in table as utf-8. use jasper from tomcat 4.0.6 to compile jsp ( other environment : jdk1.3, mysql-connector-java2.0.14 ) - display both data correctly. use jasper from tomcat 5.0.19 to compile jsp ( other environment : j2sdk1.4.2.11, mysql-connector-java31.12.0.14 )- a) display data from html as ansi code and junk at the beginning of each included html b) has to use conversion code to convert string from ansi to utf-8 (my configuration in tomcat 5.0.19 are : jsp page - <[EMAIL PROTECTED] pageEncoding= "UTF-8" %> <%@ page contentType="text/html; charset=UTF-8" %> --- <META http-equiv="Content-Type content="text/html; charset=utf-8"> --- web.xml - <servlet> <servlet-name>jsp</servlet-name> <servlet- class>org.apache.jasper.servlet.JspServlet</servlet-class> <init-param> <param-name>fork</param-name> <param-value>false</param-value> </init-param> <init-param> <param-name>xpoweredBy</param-name> <param-value>false</param-value> </init-param> <init-param> <param-name>javaEncoding</param-name> <param-value>UTF8</param-value> </init-param> <load-on-startup>3</load-on-startup> </servlet> ) Thanks! -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]