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=22266>. 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=22266 Keep template text together with mappedfile="true" Summary: Keep template text together with mappedfile="true" Product: Tomcat 5 Version: Nightly Build Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Jasper2 AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Jasper's mappedfile=true option doesn't always generate static content with one print statement per input line. Jasper creates a new Node every time it sees a "<" in the input, so when template text contains an HTML tag in the middle of an input line, the resulting Java code is split across multiple output lines (and in my opinion is therefore harder to read). This can be fixed by checking the text after the "<" before moving on to the next Node. I will attach a patch that implements this. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]