Bug 41327 - Jasper does'nt display the full path of the file in a 404 Not found error page
Summary: Jasper does'nt display the full path of the file in a 404 Not found error page
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Jasper (show other bugs)
Version: 5.5.20
Hardware: All All
: P2 trivial (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-09 00:32 UTC by Vijay
Modified: 2007-01-13 18:48 UTC (History)
0 users



Attachments
Patch to display the full path (11.73 KB, patch)
2007-01-09 00:42 UTC, Vijay
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vijay 2007-01-09 00:32:55 UTC
When you try accessing a non-existent jsp page in a webapp, tomcat(jasper)
doesnt display the full path of the file which was not found in the browser. 
example:
Accessing a non-existent jsp page say a.jsp with this url
http://localhost:8080/jsp-examples/a.jsp would return a 404 Not Found error page
which displays "/a.jsp not found".

Rather it should be "/jsp-examples/a.jsp not found".
Comment 1 Vijay 2007-01-09 00:42:07 UTC
Created attachment 19379 [details]
Patch to display the full path

This patch displays the full path as expected.
Comment 2 Mark Thomas 2007-01-13 18:48:01 UTC
Patch applied. Many thanks. The fix will be included in 5.5.21 onwards.

Patches are always appreciated. If you could provide them in diff -u format it
would make them even easier to apply. Thanks again.