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 2004/10/19 17:24:01 UTC
DO NOT REPLY [Bug 31780] New: -
.jspx produce one long line of HTML output
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=31780>.
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=31780
.jspx produce one long line of HTML output
Summary: .jspx produce one long line of HTML output
Product: Tomcat 5
Version: 5.0.28
Platform: PC
OS/Version: Other
Status: NEW
Severity: Major
Priority: Other
Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: vspa@mail.ru
Hi, guys,
There is a problem popped up, which is kinda serious for our project.
We decided to move all our jsps into jsp documents (.jspx). Everything works
fine, but output of such a page is not pretty printed html (as we would expect),
but one long line (no line breaks at all).
As result: it's absolutely not possible to debug pages (that's why I set
severity to major).
We've done some research, options like "mappedfile" and "trimSpaces" do not
help, because former prints only static template text on the next line, but
surprisingly, we don't have a single static text in our pages (use Struts <bean:
message>, so everything is dynamic).
How to reproduce the problem: in tomcat distribution go to jsp 2.0 examples
(http://localhost:8080/jsp-examples/jsp2/jspx/basic.jspx), when you execute it
and look at the source, you'll see that it wraps only by static text.
If you consider this as a bug to fix (which I hope will happen ;) I think, maybe
a new config option can be added to jasper section of web.xml of tomcat, where
you can specify whether you want to get pretty printed html as result of .jspx
or just default behaviour with one line.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org