• Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting ClassNotFoundException when trying to implement web filter in my JSF app

 
Raghu Sundar
Ranch Hand
Posts: 40
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JSF app and for some reasons i need to refresh the page on browser back button.I tried implementing the solution given in Force JSF to refresh page / view / form when back button is pressed ,the only difference is that my app runs with servlet version 2.5 so i did the mapping in web.xml as below



My filter class is



have included the jar servlet-api-2.5.jar.When i try to deploy app in tomcat server(version 6.0.29) i am getting the below error.



Please guide me how to fix this problem.
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at the following line in your web.xml:



Change that to

 
Raghu Sundar
Ranch Hand
Posts: 40
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oops!!! Now i got to know how much negligent i am.Anyway,thanks for pointing out my mistake.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!