Dear Munu,

Insert a scriplet as given below

<%
        public void jspInit()
        {
                //your code goes here
        }
%>

This method is run only once when the servlet gets loaded

Kishore Raghavan
Synapta Inc,
CA

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of munu praveen
Sent: Tuesday, February 29, 2000 10:34 AM
To: [EMAIL PROTECTED]
Subject: jsp init() method doubt


Hi guys,

I   had written a servlet program using init()
method.now i want to write jsp program using init()
method concept, where  can i specify this method in
jsp program.
pls give syntax and example.
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

===========================================================================
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

===========================================================================
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

Reply via email to