aspose file tools*
The moose likes Servlets and the fly likes problem with listener in tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "problem with listener in tomcat " Watch "problem with listener in tomcat " New topic
Author

problem with listener in tomcat

sanjeeva reddy potru
Greenhorn

Joined: Feb 01, 2006
Posts: 1
<web-app>
<listener><listener-class>com11.LisConL</listener-class></listener>
<servlet><servlet-name>one11</servlet-name><servlet-class>com11.LisCon</servlet-class>
</servlet>
<servlet-mapping><servlet-name>one11</servlet-name><url-pattern>/lis</url-pattern>
</servlet-mapping>
</web-app>

i write like this but this web application is not deployed. i deployed without <listener> tag it is deployed perfectly. i wrote one servlet-class
and listener class MyConL it implements ServletContextListener what is the problem.telme immedeately
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Did you check the error message in Tomcat's log file ?

telme immedeately

that isn't the way to ask for help


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with listener in tomcat