Bug 41327

Summary: Jasper does'nt display the full path of the file in a 404 Not found error page
Product: Tomcat 5 Reporter: Vijay <vijay2612>
Component: JasperAssignee: Tomcat Developers Mailing List <dev>
Severity: trivial    
Priority: P2    
Version: 5.5.20   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Patch to display the full path

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. 
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.