Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in web.xml

 
Bhoomika Bathla
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends

there is a web.xml as below:-



Problem is that when i use

in my web.xml then when i run applicaton it says requested resource no found else it runs the application.What is the problem in using this tag in web.xml???
 
Siva Masilamani
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the listener type ?

Where did you put the compile listener class in your application ?
 
Bhoomika Bathla
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The path of compiler class is :-
"WEBINF/classes/struts/example/ApplicationScopeInit.class"
what listener type you are asking for ?
 
Siva Masilamani
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have lot of Listener types like ServletContextListener,ServletContextAttributeListener etc.....

Let us know the listener type you are using....if possible post your code.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic