You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by david chan <da...@yahoo.com> on 2001/11/14 22:48:21 UTC

problem loading JSP on start up (tomcat 3.2.3)

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:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>