You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Kelly Campbell <ca...@channelpoint.com> on 2000/09/15 23:22:32 UTC
Bug 124 additional information
The bug listing for 124 (which I just submitted) is missing the "how to
reproduce" and "workaround" sections. Also, it looks like the main bug
report is formatted really bad... it needs some <pre> tags wrapped around
it, and any html tags should probably be escaped out (<>)
Here's the how to reproduce section:
----
Add a foobar servlet to test context's web.xml, including a servlet with a
non-existent class, and a url-mapping for /servlet/foobar.
Create a foobar.jsp containing:
<%@ include file="header.html" %>
<jsp:include page="servlet/foobar" flush="true"/>
Created a header.html containing:
<html>
<body>
<h1>Test</h1>
<hr>
Visit test/foobar.jsp, should receive a stack trace as in the report.
----
And here's the workaround section:
----
Code (probably core.Handler.service) needs changed to catch
IllegalStateException and write content of error message to output stream at
it's current location.
----
Hope that helps.
-Kelly
--
Kelly A. Campbell Sr. Software Engineer
<ca...@channelpoint.com> ChannelPoint, Inc.
<ca...@merlotxml.org> Colorado Springs, Co.