tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Mauri" <mma...@profesi.com.ar>
Subject Re: JSP load-on-startup
Date Tue, 29 Jan 2002 19:16:15 GMT
f9orro
----- Original Message ----- 
From: <JBrawner@silenus.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Tuesday, January 29, 2002 3:55 PM
Subject: JSP load-on-startup


> 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>


--
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