Hello all!

   Consider that page X.jsp contains a <%@ page errorPage="Y.jsp"%>

   An exception occurs during processing of X.jsp.  Thus Y.jsp handles the
exception.

   Is there a way of determining in Y.jsp which page caused the exception
(X.jsp)?

   I tried the following to no avail <%@ page errorPage="Y.jsp?source=X.jsp"
%>.  In other words, passing the source page as a parameter.  I guess that
only makes sense as an HTTP request though.

   Any ideas?  I'm wanting to know if there is something built in to
ServletRequest or someplace like that.  I'm sure there are lots of custom
solutions.

   By the way, I'm running JServ 1.1b1, GNUJSP 1.0, JSDK 2.0.

   Thanks,

   Casey

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to