https://issues.apache.org/bugzilla/show_bug.cgi?id=53071

Konstantin Kolinko <knst.koli...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
          Component|Catalina                    |Catalina
            Version|6.0.35                      |7.0.29
         Resolution|FIXED                       |---
            Product|Tomcat 6                    |Tomcat 7
   Target Milestone|default                     |---

--- Comment #13 from Konstantin Kolinko <knst.koli...@gmail.com> ---
Reopening this. This needs further improvement.

When there is a java compilation error in JSP page, the error page becomes
especially ugly. Reproducible in 7.0.29.

To reproduce:
1. Change ROOT/index.jsp introducing a typo in Java code scriptlet, e.g.
s/SimpleDateFormat/SimpleDate Format/

2. Access the page.

Actual result: The whole text of the compilation exception, including a source
code fragment, is included in the <h1> header, as well as in the "message"
field. That is a lot of text without any formatting, occupying the whole
screen. It is ugly.

Expected result: Maybe include just some part of the text, and replace the rest
with ellipsis " (...)"? Maybe use just the first line, as line breaks are lost
when rendering HTML?


Also,
the changes mentioned in Comment 11 still have to be proposed/fixed in 6.0.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

Reply via email to