-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:SERVLET-INTEREST@;JAVA.SUN.COM]On Behalf Of David
Shanes
Sent: 03 November 2002 02:20
To: [EMAIL PROTECTED]
Subject: Getting the URL from a ServletFilter

> That method is on the HttpServletRequest object, not ServletRequest.

> How do I get the referring URL from a Filter using Servlet 2.3?

Quite simply cast it.

HttpServletRequest hSReq = (HttpServletRequest)servletRequest

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to