• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

<filter> tag is not working in web.xml file

 
Ranch Hand
Posts: 674
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi I am developing a web application using Struts2.0+Eclipse.I have created a Dynamic Web Project+added all libraies both in build path and WEB-Content folder.I try to filter all incoming request in web.xml to directly pass them to struts.xml but <filter> tag is not working I mean when I click on Project->Run on Server request only goes to web.xml it is notgoing to struts.xml

here is my web.xml file




and this is my directory structure
please find attachment

and this is output that is displayed on browser when i run
struts2config.PNG
[Thumbnail for struts2config.PNG]
output.PNG
[Thumbnail for output.PNG]
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you attempting to deploy to a running server? Check the server for errors. There should be messages reflecting the application is being deployed. Check the Tomcat manager and make sure your application is being deployed where you think it is.
 
Kishor Joshi
Ranch Hand
Posts: 674
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Joe

I checked error messages on Tomcat and I sorted out all issues

Now its working fine
 
Joe Ess
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic