File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in web.xml

 
Bhoomika Bathla
Ranch Hand
Posts: 40
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic