The init() method is called whenever the servlet is first created.
Therefore,
if you want your servlet do to something specific before handling clients
(e.g. setting up a connection pool), here's the place you should put that
code.

[ Matthias Carlsson ]
[ Programmer (Java, CGI/Perl, Javascript, HTML) ] [ Web Designer ]
[ E-Mail : [EMAIL PROTECTED] ] [ ICQ: 1430647 ]

-----Ursprungligt meddelande-----
Fran: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]For Chan Kuan Kuen
Skickat: den 9 september 2000 18:34
Till: [EMAIL PROTECTED]
Amne: init()


HI, I am a confuse of init()  function,does anyone know what are the
different
between writing  the below code in program and don't ?

''public void init(ServletConfig config)
                throws ServletException{
''

Rgds,
Kelly

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to