Thank you. I will give it a try.
BTW, where did you find this documented? Now that I know what to look for, the only
place I found this information was in the Java Servlet Specification. I guess I may
use any of the elements defined in the web application deployment descriptor inside my
web.xml?
Sincerely yours;
Mark Mynsted
VHA Management Information Systems Client Services
[EMAIL PROTECTED]
(972) 830 - 0592, Internal x1592
>>> [EMAIL PROTECTED] 4/20/2001 10:31:44 AM >>>
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
- Re: load a servlet or jsp at Tomcat startup Patrick . Pierra
