You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/05/03 00:48:54 UTC

DO NOT REPLY [Bug 19617] New: - page attributes are lost when used @page in @include-d file

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