Bug 4504 - examples/web/ShowSource.jsp uses file I/O, and fails from a WAR file
Summary: examples/web/ShowSource.jsp uses file I/O, and fails from a WAR file
Status: RESOLVED FIXED
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Standard Taglib (show other bugs)
Version: 1.0
Hardware: All All
: P3 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-29 18:24 UTC by Craig McClanahan
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.