tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From david chan <davidchantftom...@yahoo.com>
Subject problem loading JSP on start up (tomcat 3.2.3)
Date Wed, 14 Nov 2001 21:48:21 GMT
Hi,
 I have a JSP need to load on tomcat startup, so I
specify it in the web.xml:
    <servlet>
        <servlet-name>
            TestStartup
        </servlet-name>
        <jsp-file>
	     /jsp/TestStartup.jsp
        </jsp-file>
	<load-on-startup>
            1
	</load-on-startup>
    </servlet>

Then I restart tomcat, but it is not even compiled, so
I added URI mapping of this serverlet to web.xml:
   <servlet-mapping>
        <servlet-name>
            TestStartup
        </servlet-name>
        <url-pattern>
            /TestStartup
        </url-pattern>
    </servlet-mapping>

Then I type the URL: http://localhost/TestStartup,
then it got complied and loaded, but if I restart
tomcat again, it is still not automaticatlly loaded on
startup ?
 Is it a bug of tomcat 3.2.3 ? Or Am I missing some
thing ?

Thanks.
David


__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com

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