permaculture playing cards
The moose likes Servlets and the fly likes Servlet Filters + Request URI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet Filters + Request URI" Watch "Servlet Filters + Request URI" New topic

Servlet Filters + Request URI

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 761

In ServletFilters is it possible to know the request URI ?

What i want to do is.

If the requestUri is .../.../notification_history.jsp then want to remove some session variables

else continue processing request.

Jigar Naik

shivendra tripathi
Ranch Hand

Joined: Aug 26, 2008
Posts: 263

if (request instanceof HttpServletRequest) {

SCJP 1.5(97%) My Blog
I agree. Here's the link:
subject: Servlet Filters + Request URI
jQuery in Action, 3rd edition