[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tomcat-dev
Subject:    DO NOT REPLY [Bug 30418] New:  -
From:       bugzilla () apache ! org
Date:       2004-07-30 21:31:08
Message-ID: 20040730213108.19263.qmail () nagoya ! betaversion ! org
[Download RAW message or body]

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30418>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30418

jasper2 character translation issue

           Summary: jasper2 character translation issue
           Product: Tomcat 5
           Version: 5.0.27
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: joe.bissen@thieletech.com


The following bug occurs when precompiling jsp's following the instructions in
the Tomcat 5 documenation.

For the following line in the jsp, 

<a href="<c:out value="${item.feed.link}"/>"><c:out
value="${item.feed.title}"/></a> - <a href="<c:out
value="${item.link}"/>"><c:out value="${item.title}"/></a>

a source file is generated with the following :
 
.....
out.write("</a> Â? <a href=\"");
.....

instead of 
......
out.write("</a> Â? <a href=\"");
......

I tested other characters that the dash (colons and hyphens) and jasper2
generates correct HTML, its just that it mistranslates the dash for some reason.

The problem does not occur if you allow Tomcat to compile pages on the fly while
the application is running.  Also, I never saw this issue with versions of
Tomcat 5 less than 5.0.25.

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic