dcsimg
How initializing servlet....
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Gino_Canti
Posted On:   Tuesday, April 16, 2002 10:23 AM


How initializing servlet in a javaClass (in a main method).....

Re: How initializing servlet....

Posted By:   Joar_Vatnaland  
Posted On:   Thursday, April 18, 2002 01:55 AM

As in the other answer, I am baffled as to the reason why you should want to initialize the servlet from the main method of another class. A servlet is initialized when the servlet container calls its init(...) method. Put in this method anything you want to do when the servlet is initialized.

Re: How initializing servlet....

Posted By:   Benoit_Quintin  
Posted On:   Tuesday, April 16, 2002 10:48 AM

Sorry?? you want to initialize a servlet in a main method?? As in "I don't have an appserver but want to use the servlet class nontheless" or as in "I have an appserver and I don't know how the initialize the servlet on it" ????
About | Sitemap | Contact