I used the following xml in my deployment descriptor expecting Tomcat4 to
generate a
servlet from my
jsp within the work directory on startup.
<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. Shouldn't
it have compiled, loaded and initialized my jsp when
Tomcat started?