You have to update the web.xml file like this :
<?xml version="1.0" encoding="ISO-8859-1" ?>
� <!DOCTYPE web-app (View Source for full doctype...)>
- <web-app>
- <!--
Database Initialization Servlet Configuration
� -->
- <servlet>
� <servlet-name>DatabaseServlet</servlet-name> Name of your servlet
� <servlet-class>lds.gui.dataconnectivity.DatabaseServlet</
servlet-class> path to your servlet
� <load-on-startup>1</load-on-startup> position of startup
� </servlet>
- <servlet>
� <servlet-name>Login</servlet-name>
� <servlet-class>lds.servlets.Login</servlet-class>
� </servlet>
- <!--
Action Servlet Mapping
� -->
- <servlet-mapping>
� <servlet-name>Login</servlet-name>
� <url-pattern>/Login</url-pattern>
� </servlet-mapping>
� </web-app>Patrick PIERRA
"Mark
Mynsted" To: <[EMAIL PROTECTED]>
<MMYNSTED@vha cc:
.com> Subject: load a servlet or jsp at Tomcat
startup
04/20/01
05:14 PM
Please
respond to
tomcat-user
Is there not a way to define a servlet or jsp in ../conf/server.xml to load
a start up of Tomcat? I can not find this in the documentation.
Sincerely yours;
Mark Mynsted
VHA Management Information Systems Client Services
[EMAIL PROTECTED]
(972) 830 - 0592, Internal x1592
- load a servlet or jsp at Tomcat startup Mark Mynsted
- Re: load a servlet or jsp at Tomcat startup Mark Mynsted
- Patrick . Pierra
