Google Answers Logo
View Question
 
Q: Customizing JSP 404 error page ( No Answer,   1 Comment )
Question  
Subject: Customizing JSP 404 error page
Category: Computers > Programming
Asked by: vangou-ga
List Price: $3.00
Posted: 07 Jun 2006 13:03 PDT
Expires: 07 Jul 2006 13:03 PDT
Question ID: 736170
Using BEA Weblogic web server.

I need my webapp to display a customized 404 error page. It works.
(using the <error-page> element in web.xml).

But I need to display the requested URL (i.e.: the missing file).
<%= request.getRequestURI() %> simply return the 404error.jsp page
URI. I want to get the faulty missing url/page/file.

Thanks for your help.
Answer  
There is no answer at this time.

Comments  
Subject: Re: Customizing JSP 404 error page
From: amby_answers-ga on 15 Jun 2006 12:54 PDT
 
Use request.getHeader("Referer")... Just a thought...

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy