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 14188] New: - directive "import" in the included page causes encoding(charset) modification for this page
Date Sat, 02 Nov 2002 10:37:48 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=14188>.
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=14188

directive "import" in the included page causes encoding(charset) modification for this page

           Summary: directive "import" in the included page causes
                    encoding(charset) modification for this page
           Product: Tomcat 4
           Version: 4.1.12
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Jasper 2
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: yura@ibis.odessa.ua


directive "import" in the included page causes encoding(charset) modification 
for this page

EXAMLE1 - FILES

page1.jsp------------------------------------------------
<%@ page contentType="text/html; charset=windows-1251" %>
<%@ include file="include1.jsp" %>
<PRE>
PAGE 1 TEXT
   PAGE 1 << RUSSIAN TEXT IN Win1251
PAGE 1 TEXT
</PRE>
page1.jsp------------------------------------------------

include1.jsp------------------------------------------------
<html>
<head>
<title>CHarset TEST</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" 
marginwidth="0" marginheight="0">

<PRE>
INCLUDE 1 TEXT
   INCLUDE 1
INCLUDE 1 TEXT
</PRE>
include1.jsp------------------------------------------------

EXAMLE1 - RESULT
------------------------------------------------------------
INCLUDE 1 TEXT
   INCLUDE 1
INCLUDE 1 TEXT

PAGE 1 TEXT
   PAGE 1 << RUSSIAN TEXT IN Win1251
PAGE 1 TEXT
------------------------------------------------------------


EXAMLE2 - FILES

page1.jsp------------------------------------------------
<%@ page contentType="text/html; charset=windows-1251" %>
<%@ include file="include1.jsp" %>
<PRE>
PAGE 1 TEXT
   PAGE 1 << RUSSIAN TEXT IN Win1251
PAGE 1 TEXT
</PRE>
page1.jsp------------------------------------------------

include1.jsp------------------------------------------------
<%@ page import="java.lang.String"%>
<html>
<head>
<title>CHarset TEST</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" 
marginwidth="0" marginheight="0">

<PRE>
INCLUDE 1 TEXT
   INCLUDE 1
INCLUDE 1 TEXT
</PRE>
include1.jsp------------------------------------------------

EXAMLE2 - RESULT
------------------------------------------------------------
INCLUDE 1 TEXT
????? ?? ???????? INCLUDE 1 << RUSSIAN TEXT IN Win1251
INCLUDE 1 TEXT

PAGE 1 TEXT
   PAGE 1
PAGE 1 TEXT
------------------------------------------------------------


jasper 1 not have this problem

???

--
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