tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JBraw...@silenus.com
Subject JSP load-on-startup
Date Tue, 29 Jan 2002 18:55:29 GMT
I used the following xml in my deployment descriptor expecting Tomcat4 to
generate a servlet from my jsp within the work directory.

    <servlet>
      <servlet-name>Home</servlet-name>
      <jsp-file>/home.jsp</jsp-file>
      <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet-mapping>
      <servlet-name>Home</servlet-name>
      <url-pattern>/home.jsp</url-pattern>
    </servlet-mapping>

It appears to have done nothing.  The servlet isn't generated until I
request home.jsp for the first time.  Did I do this correctly?  Shouldn't
it have compiled, loaded and initialized my jsp?

Thanks in advance,

Jason E. Brawner



--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message