tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Doolittle" <dave.doolit...@gentootech.com>
Subject RE: Load JSP page on when tomcat starts (load on start-up)
Date Thu, 08 Feb 2001 20:57:31 GMT
I use the following in my context WEB-INF web.xml file

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
    <session-config>
        <session-timeout>
            30
        </session-timeout>
    </session-config>

<servlet>
        <servlet-name>index</servlet-name>
        <jsp-file>/index.jsp</jsp-file>
        <init-param>
                <param-name>com.gentootech.eip.properties</param-name>
                <param-value>eip.properties</param-value>
        </init-param>
        <load-on-startup>2</load-on-startup>
</servlet>

<servlet-mapping>
<servlet-name>index</servlet-name>
<url-pattern>/index.jsp</url-pattern>
</servlet-mapping>


</web-app>

-----Original Message-----
From:
tomcat-user-return-23449-dave.doolittle=gentootech.com@jakarta.apache.org
[mailto:tomcat-user-return-23449-dave.doolittle=gentootech.com@jakarta.apach
e.org]On Behalf Of Amir Nuri
Sent: Thursday, February 08, 2001 10:27 AM
To: Tomcat-User
Subject: Load JSP page on when tomcat starts (load on start-up)


Hi
Does anyone knows how can I load a jsp page when i starts tomcat ???
same way I load a Servlet
(e.g: <load-on-startup>3</load-on-startup> )


====================================
E-mail  : amir.nuri@mobilitec.com
Web     : http://www.mobilitec.com/
====================================
Mobilitec, Inc.
P.O. Box 15049 Matam
Haifa 31905, Israel
Tel     +972-4-855-1133 ext. 115
Fax     +972-4-855-1112

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, email: tomcat-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, email: tomcat-user-help@jakarta.apache.org




Mime
View raw message