About load-on-startup tag in web.xml in tomcat



Hi All,
I would like to start a servlet independent of first
request.That y iam using load-on-startup tag in web.xml i.e
<load-on-startup>0</load-on-startup>.

My Requirement is when ever tomcat server starts it should load
the all the servlets independent of the first request to that servlets.

Iam using tomcat 4.0. It is not loading servlets when server is
started.

i.e Is there any element in need to set in server.xml to load
the servlets when server is started.

Thanks In Advance.

.



Relevant Pages

  • Re: J2ME or network programming or...what do you recommend?
    ... recommend more of specialization (knowing less technologies, ... I started doing the servlets along with the JSP. ... Well depending on how dynamic you want the client to be. ... needed) to java server programs? ...
    (comp.lang.java.programmer)
  • Re: Please Answer Newbie Question
    ... > Servlet and JSP classes are not in the J2SE, ... > the application server as a separate download. ... > that you're going to develop servlets and JSP. ... Just install *that* server, and use the ...
    (comp.lang.java.programmer)
  • Re: Windows/Macro Language Info?
    ... Java scriptlets and servlets can also carry malware. ... other part of the HTTP server. ... PHP can deliver malware and coordinate attacks to precisely the ... server-side scripting languages are not. ...
    (comp.lang.cobol)
  • Re: Windows/Macro Language Info?
    ... >> can activate programs on other servers to attack ports on the client, ... > There's absolutely nothing here that distinguishes servlets from any ... > other part of the HTTP server. ... I guess I got pushed into it when it was suggested that SOME scripting ...
    (comp.lang.cobol)
  • Mock the Server
    ... I want the Wiki to do something with the #tag, ... The server never sees it. ... I could have also used a dynamic Mock Object that mocks anything. ... Unless your environment couples the servlets and server to each other and ...
    (comp.lang.ruby)