Thanks, that's what I was thinking of.
Unfortunately the error page has the referrer taken from the referrer of
the original page. In my case, the referrer is the navigation frame
containing the link that brought up the page that caused the error.
So, I'm still left with the original problem of trying to log which page
generated the error from the JSP ErrorPage.
Any ideas ?
Richard
Zeyn Saigol <[EMAIL PROTECTED]> wrote
> This should be possible in JSP:
>
> <% Logger.logErrorSource(request.getHeader("Referer")); %>
>
> or something like that. Request.getHeader() will return null if the
> referer isn't included in the request, but I think it should be
> usually.
>> >>> [EMAIL PROTECTED] 7/31/00 7:34 >>>
>> Is it possible to get the url of the referring page, that
>> is, the page
>> before this one ? I thought this was possible when I
>> previously used
>> isapi.
>>
>> What I am trying to do is to put a 'retry' link on my error
>> page, and more
>> importantly to log the url of the page that generated the error.
>>
>> thanks,
>> Richard
__________________________________________________________________
JHC Plc
Software Professionals
http://www.jhc.co.uk
__________________________________________________________________
17 Macklin Street, London, WC2B 5NH
t: +44 (0)20 7916 1188 f: +44 (0)20 7916 1590
2nd Floor, 21 Bennetts Hill, Birmingham, B2 5QP
t: +44 (0)121 605 0808 f: +44 (0)121 605 0888
3rd Floor, 41 Grainger Street, Newcastle, NE1 5JE
t: +44 (0)191 260 2425 f: +44 (0)191 222 0126
__________________________________________________________________
This email (and any associated files) is intended only
for the addressee(s) above and may be confidential, contain
information that is copyright or which constitutes a trade
secret. If you have received it in error, you must take no
action based on it (nor copy it or show it to another person).
Please delete it from your system immediately and telephone
us to confirm.
__________________________________________________________________
Registered in England No. 2243258
Registered Office:
2nd Floor, 21 Bennetts Hill, Birmingham, B2 5QP
__________________________________________________________________
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets