tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 7809] New: - content type directive that in included jsp files take no effects
Date Sun, 07 Apr 2002 09:02:58 GMT
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:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message