Forum Moderators: phranque
I have tomcat running beside apache with mod_proxy. I have a rule that assigns the directory /bin/ to tomcat.
My error 404's are being redirected to the file /bin/404.jsp with the 404 I want to be able to get the page filename and sugest alternative pages based on that filename.
match = request.getAttribute("javax.servlet.error.request_uri").toString(); returns the pages name if the error is generated from tomcat, however if the error is sent from apache it returns null
match = request.getHeader("Referer").toString(); Returns null
Anyone have any suggestions?
Thanks
- Ryan
PS sorry for the typo in the title, unfortunately I can not edit it.
[edited by: RyanM at 5:46 am (utc) on Aug. 28, 2006]