Bug 4504

Summary: examples/web/ShowSource.jsp uses file I/O, and fails from a WAR file
Product: Taglibs Reporter: Craig McClanahan <craig.mcclanahan>
Component: Standard TaglibAssignee: Tomcat Developers Mailing List <dev>
Severity: normal    
Priority: P3    
Version: 1.0   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Craig McClanahan 2001-10-29 18:24:11 UTC
The "ShowSource.jsp" page (used to show the source code of the JSPTL example
pages) uses file I/O to read the source page.  This causes an Error 500 when the
JSPTL examples webapp is run directly from a WAR file rather than being unpacked
into a directory.

ShowSource.jsp should use the JSPTL "import" tag to read the page source, which
will work whether the app is packed or unpacked.
Comment 1 Shawn Bayern 2001-11-05 18:30:10 UTC
Fixed - thanks, Craig.