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 19617] - pageEncoding attribute is reset when @page used in @include-d file
Date Fri, 02 May 2003 23:09:20 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=19617>.
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=19617

pageEncoding attribute is reset when @page used in @include-d file

mg@fork.pl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|page attributes are lost    |pageEncoding attribute is
                   |when used @page in @include-|reset when @page used in
                   |d file                      |@include-d file



------- Additional Comments From mg@fork.pl  2003-05-02 23:09 -------
Ok, I found the responsible piece of code:
It's ParserController.java (lines 252-270)

pageEncoding is set to ISO-8859-1 if:
@page is found AND 
pageEncoding is not specified AND 
contentType is not specified 

(for included page they cannot be specified, so using @page 
will always reset pageEncoding to ISO-8859-1)

I don't know jasper's code so well to provide patch...

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message