The following works for me:

<web-app>
  <servlet>
    <servlet-name>My Servlet</servlet-name>
    <servlet-class>com.mongoosetech.servlets.MyServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>
</web-app>

I don't know if it matters but the servlet I am loading is derived from
GenericServlet not HttpServlet. Also, you might try checking the various
logs.

- Kit

 -----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Patrik Andersson
Sent: Wednesday, June 07, 2000 9:18 AM
To: Orion-Interest
Subject: No performance using internet explorer


How do I have orion load a servlet on startup. I can't seem to get the
<load-on-startup> tag work. I've tried placing it inside <servlet></servlet>
tags and also in the <servlet-mapping> tag. When I place it in either of the
places the site goes down.

regards,
patrik Andersson


Reply via email to