tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dola Woolfe <dolac...@yahoo.com>
Subject Re: ErrorPage.jsp - how to get the address of the offending page?
Date Tue, 01 Jun 2004 08:27:37 GMT

> Does the request attribute
> javax.servlet.error.request_uri  suit your needs ?
> (from the servlet spec, SRV.9.9.1)

Actually returns null. I'm using Tomcat 3; Could that
be the reason?

Here's my snippet:

<%@ page isErrorPage="true"%>
<%
System.out.println(request.getAttribute("javax.servlet.error.request_uri"));

%>


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message