Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP in combination with ServletFilter not working  RSS feed

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I am having a JSP Page , my requirement is that before executing that JSP Page , i want my Filter to do Some operations ,but it isn't working .

Please see the code and suggest , i am posting some sample dummy Data :




This is my Web.xml file configured :



 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36396
453
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does not working mean? That the filter isn't getting called? What URL are you using to call the JSP?
 
cao hongming
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ah.....It seems no problem .
/*.jsp
it's Seldom wrote .
Try to write /*
and you access URL is right?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!