Re: Problem using jsp to handle 404s from nonjsps

2004-06-25 Thread Joseph Shraibman
Akash Jauhar wrote: Assuming that you have an apache in front of tomcat configure apache to specify that 404.jsp is your custom page for handling 404 errors for content that is served by apache. This should help you log all broken links as well as missing images and other content Hope this helps Ap

RE: Problem using jsp to handle 404s from nonjsps

2004-06-25 Thread Akash Jauhar
that needs to be modified is as follows ErrorDocument 404 or Akash -Original Message- From: Joseph Shraibman [mailto:[EMAIL PROTECTED] Sent: Friday, June 25, 2004 11:39 AM To: Tomcat Users List Subject: Problem using jsp to handle 404s from nonjsps I have a 404.jsp for logging

Problem using jsp to handle 404s from nonjsps

2004-06-25 Thread Joseph Shraibman
I have a 404.jsp for logging broken links. I get the missing page by doing this: String url = request.getRequestURL().toString(); This works when the missing page is a jsp. When it is something else like a .html, my url variable ends up with the url to my 404 handler. I assume this is a pro