aspose file tools*
The moose likes Struts and the fly likes Problem in web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem in web.xml" Watch "Problem in web.xml" New topic
Author

Problem in web.xml

Bhoomika Bathla
Ranch Hand

Joined: Nov 28, 2009
Posts: 40
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

Joined: Sep 19, 2008
Posts: 385
What is the listener type ?

Where did you put the compile listener class in your application ?


SCJP 6,SCWCD 5,SCBCD 5

Failure is not an option.
Bhoomika Bathla
Ranch Hand

Joined: Nov 28, 2009
Posts: 40
The path of compiler class is :-
"WEBINF/classes/struts/example/ApplicationScopeInit.class"
what listener type you are asking for ?
Siva Masilamani
Ranch Hand

Joined: Sep 19, 2008
Posts: 385
We have lot of Listener types like ServletContextListener,ServletContextAttributeListener etc.....

Let us know the listener type you are using....if possible post your code.
 
 
subject: Problem in web.xml