Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Servlet Interest »

Servlet Init method

Senthil_Theerthagiri

2005-09-01


Hi,

 

                I am a beginner in servlet programming. . I have a question in that. Can anybody clear it for me?  

 

                Why do we have init() method instead of constructor. Bcaz servlet is also a java class file, so why don’t we use constructor instead of init().

 

Regards
SenthilKumar Theerthagiri
Satyam Computers Chennai.
Ph: 24353221 - Ext: 3709

 

-- You  can do everything, if it's important enough to you to do.

 

DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.. ___________________________________________________________________________ To unsubscribe, send email to listserv@java.sun.com 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

©2008 junlu.com - Jax Systems, LLC, U.S.A.