Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

calling jspDestory() method

 
Anand Bhatt
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have defined the jspDestory() in my input.jsp,now how can i see the println()statement inside that method? Means when that method is going to run.jspInit()is working correctly.
 
mani vannan
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please make your question little more clearer?
 
Deepak Jain
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stop the service or shutdown the container.
The JSP->Servlet will be taken out of service and the jspDestroy() method will be invoked which will result in your System.out.println to be executed which will be directed to your tomcat logs.
 
Anand Bhatt
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks deepak!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic