File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Init() & destroy() in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Init() & destroy() in jsp" Watch "Init() & destroy() in jsp" New topic
Author

Init() & destroy() in jsp

Dean Jones
Greenhorn

Joined: Jun 18, 2002
Posts: 24
hi how it is possible to have the init(),destroy() functionality in a JSP PAge
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Dean
You need the jspInit() and jspDestroy() methods from the jspPage interface.


Dave
Anthony Villanueva
Ranch Hand

Joined: Mar 22, 2002
Posts: 1055
Yes just override the jspInit() and jspDestroy() methods using <%! %> tags to customize your JSP.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Init() & destroy() in jsp