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] New: - page attributes are lost when used @page in @include-d file
Date Fri, 02 May 2003 22:48:54 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

page attributes are lost when used @page in @include-d file

           Summary: page attributes are lost when used @page in @include-d
                    file
           Product: Tomcat 4
           Version: 4.1.24
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper 2
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: mg@fork.pl


When I use @page directive in file that is included in other .jsp, all
the attributes of main page (encoding etc.) are lost. It's not possible
to set those atributes in included page again
(jsp.error.page.multiple.pageencoding is thrown from Validator.java), but
it's possible to specify additional imports there. 

I included 2 files as an example - they both contain the same short text with
two characters encoded in iso-8859-2. Compiled .java file contains two versions
of the letters (right - from the main file, and wrong - from the included file -
it's wrong because PageEncoding attribute is lost and reset to iso-8859-1)

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