Re: Sevlet at startup, not starting

2002-12-13 Thread Alexander Wallace
Thanks for all the help. On Thursday 12 December 2002 19:15, Jacob Kjome wrote: That's what init() is there for. Just note that the container is allowed to unload and reload servlets at any time it wants to so your init() and destroy() methods aren't guaranteed to run just once. If you have

Sevlet at startup, not starting

2002-12-12 Thread Alexander Wallace
Hi there... I have 1 servlet to start at startup, but it doesnt. If i call the servlet from a browser, it starts fine. My web.xml has: servlet servlet-nameStartup/servlet-name descriptionServlet that starts different startup classes and stuff./description

Re: Sevlet at startup, not starting

2002-12-12 Thread Jacob Kjome
Hello Alexander, Note that loading on startup only calls the init() method. It does not call doGet() or anything like that. Just making sure you understood that. Jake Thursday, December 12, 2002, 4:09:41 PM, you wrote: AW Hi there... I have 1 servlet to start at startup, but it doesnt. If i

Re: Sevlet at startup, not starting

2002-12-12 Thread Alexander Wallace
Well, that must be it then! I should just move all my code that i want inited to the init then righ? Is that safe to do? Thanks! On Thursday 12 December 2002 16:19, Jacob Kjome wrote: Hello Alexander, Note that loading on startup only calls the init() method. It does not call doGet() or

Re: Sevlet at startup, not starting

2002-12-12 Thread Jacob Kjome
That's what init() is there for. Just note that the container is allowed to unload and reload servlets at any time it wants to so your init() and destroy() methods aren't guaranteed to run just once. If you have application initialization that you want to happen once and only once during