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.
> -----Original Message-----
> From: A mailing list about Java Server Pages specification
> and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Richard
> Brooks/JHC
> Sent: 31 July 2000 13:24
> To: [EMAIL PROTECTED]
> Subject: Re: Referrer URL
>
>
> thanks, that will work for my back link
>
> But
> in order to be able to log the url of the page that the
> error occurred in I
> need to get access to it in the jsp code that runs on the server, so
> javascript is no good
>
>
>
>
> TODD HARNEY
> <THARNEY@LONGABER To:
> [EMAIL PROTECTED]
> GER.COM> cc:
> Sent by: A Fax to:
> mailing list Subject:
> Re: Referrer URL
> about Java Server
> Pages
> specification and
> reference
> <JSP-INTEREST@jav
> a.sun.com>
>
>
> 31/07/00 13:05
> Please respond to
> A mailing list
> about Java Server
> Pages
> specification and
> reference
>
>
>
>
>
> In Javascript it is like this...
>
> window.history.back()
>
> Hope this helps...
>
> >>> [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
>
> ============================================================
> ===============
> 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
>
> ============================================================
> ===============
> 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
>
> ============================================================
> ===============
> 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
>
===========================================================================
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