I have the following code, but in the jspDestory() method, the out object is
not defined. If it is a normal method that is called within the body of the
code, I could have passed out as the JspWriter in the parameter. Since
jspDestroy() is a system method, I cannot call it myself or pass the out
object to it. How can I make the out work in the following case?
<%!
public void jspDestroy(){
try {
xml_file_stream.close();
} catch(IOException e) {
out.println("ERROR : Cannot close input stream.");
}
}
Anthony Mak
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets