Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getting servletconfig in ServletContextListener

 
Manoj John
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using tomcat 5.0.19 and struts1.1.In my application there is one ServletContextListener. In its contextDestroyed() method i need to make free all the resources using for my application.
How i can do it? is there any way to get the sevlet config there(using struts default ActionServlet).
or any other solution to destroy the servlet there. please help.......
 
Manoj John
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,
Nobody is there to help me ?...
please tell me how i get the reference of struts default servlet class in my ServletContextListener class ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic