Hi, Thank u for all ur answers. So there is no other way except giving a req to the servlet, to call the init() function ??
Thanks again Ann --- Nitin Goyal <[EMAIL PROTECTED]> wrote: > Hi, > > You can use a constructor for the servlet in order > to implement this > functionality. However the constructor is called > only when the servlet in > instantiated, not initialized. The init() is called > only AFTER the servlet has > been instantiated. > > Regards > Nitin Goyal > Webrizon eSolutions Pvt. Ltd., > B-31, Sector 5, Noida-201301 (UP) INDIA > Tel (O) : 91.118.4421319, 4421320. Cell : > 91.9810353030 > [EMAIL PROTECTED] > > There is no failure except in no longer trying. > > > ----- Original Message ----- > From: "Ann Mary" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, January 04, 2002 11:53 AM > Subject: How to call init when the serlvet is > loaded? > > > Hi All, > > I have a problem at hand, is there any way to call > the init() method of the servlet when the servlet is > loaded. The purpose is that i have to call a method > from that servlet to register it to server in a > different location. > > Thanx in advance, > > Ann > > > ________________________________________________________________________ > Download Logos, Picture Messages & Ringtones for > your mobile phone > Visit http://mobile.yahoo.co.in > > ___________________________________________________________________________ > 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 > ________________________________________________________________________ Download Logos, Picture Messages & Ringtones for your mobile phone Visit http://mobile.yahoo.co.in ___________________________________________________________________________ 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
