But in the filter I get a ServletRequest object and not an HttpServletRequest object ..
So ..
HttpServletRequest HttpRequest = (HttpServletRequest) request;
String URI = Requete.getRequestURI();
Thanks ..
Eriam
Reynir Hübner a écrit:
How about request.getRequestURI() ?
It should return you a string with the uri..
Hope it helps
-reynir
-----Original Message-------
From: Eriam Schaffter [mailto:[EMAIL PROTECTED]] Sent: 3. desember 2002 22:13
To: [EMAIL PROTECTED]
Subject: Get the request path from a filter ..
Hi all ..
How can I get the request uri from a servlet filter .. ?
Thanks for any answear ..
Eriam Schaffter
--
To unsubscribe, e-mail: <mailto:tomcat-user-> [EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-------------
Ce courrier a ete considere comme non infecte par les virus connu de notre outil de detection. Soyez cependant prudent avec les pieces jointes. Merci.
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>