You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/04/07 11:02:58 UTC
DO NOT REPLY [Bug 7809] New: -
content type directive that in included jsp files take no effects
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7809>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7809
content type directive that in included jsp files take no effects
Summary: content type directive that in included jsp files take
no effects
Product: Tomcat 4
Version: 4.0.3 Final
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: cnkidshaw@mailcity.com
<%@ page conetnt="text/html;charset=gb2312"%>
<%request.setCharacterEncoding("gb2312");%>
take no effect in included jsp file.
for example,I have 2 jsp files,global.jsp and work.jsp.Normally I will add the
above 2 lines in global.jsp.But actually,It take no effect,the work.jsp still
display 8859_1 encoded string in html while fetch gb2312 encoded string from
mysql.And the work.jsp works well after insert the above 2 line into the very
begin of work.jsp.
I found this bug while installing jive2.5 on tomcat4.0.3
My server is Win2k Server Simplified Chinese version and JDK1.4 and
Tomcat4.0.3 and mysql3.23.49
Thanx
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>