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