Bug 219 - tomcat cannot recognise include file tag correctly BugRat Report#336
Summary: tomcat cannot recognise include file tag correctly BugRat Report#336
Status: RESOLVED WORKSFORME
Alias: None
Product: Tomcat 3
Classification: Unclassified
Component: Unknown (show other bugs)
Version: Unknown
Hardware: All All
: P1 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-11-03 05:10 UTC by Tomcat Alias
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomcat Developers Mailing List 2000-11-03 05:10:19 UTC
this problem is like this:
file1--->aa.jsp
<%@ page contentType="text/html;charset=gb2312" %>

file2--->bb.jsp
<%@ include file="aa.jsp" %>
ÕâÊÇÒ»¸ö²âÊÔ


bb.jsp cannot display correctly

you only write like this can be correctly
file3--->cc.jsp
<%@ page contentType="text/html;charset=gb2312" %>
ÕâÊÇÒ»¸ö²âÊÔ
Comment 1 Marc Saegesser 2001-06-15 08:54:09 UTC
I'm not sure what version of Tomcat this was reported against, but I've tested 
it with 3.2.2 and the latest betas of 3.3 and 4.0 and it works correctly in all 
cases.  In fact, the work around presented below will cause a translation time 
exception because the contentType attribute can't be set more than once.