Hello,
I'm creating an error page that I hope will provide me
with some useful debugging information. I refer to the error
page from a variety of .jsp files using the directive:
<%@ page errorPage="error.jsp" %>
In the error.jsp file, I'd like to be able to figure out
what file caused the error in the first place. However, the
command, "request.getRequestURI()" merely returns "/error.jsp"
Does anyone have any thoughts as to how I might get the referring
page? The stack trace of the exception does show me what Java
file threw the exception, but I'd like to be able to display
something like the original URI.
Thanks,
Sam Greenfield
Senior System Engineer
Sports Illustrated
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists