You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Joseph Shraibman <jk...@selectacast.net> on 2004/06/25 20:38:30 UTC
Problem using jsp to handle 404s from nonjsps
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 problem with apache forwarding to 404.jsp. How can I
work around this?
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org