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

problem with listener in tomcat

 
sanjeeva reddy potru
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<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
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you check the error message in Tomcat's log file ?

telme immedeately

that isn't the way to ask for help
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic