Rich : web.xml on anvil This page last changed on Jul 25, 2008 by rich. sits below webapps\rovctd\WEB-INF\web.xml declares servletname to java class mapping and a link to the database connection defined in conf\server.xml <?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> <servlet> <servlet-name> RovctdDataServlet </servlet-name> <servlet-class> org.mbari.rovctd.datagenerators.RovctdDataServlet </servlet-class> <init-param> <param-name>deployedDate</param-name> <param-value>15-Aug-2006</param-value> </init-param> <init-param> <param-name>jdbcDriver</param-name> <param-value>net.sourceforge.jtds.jdbc.Driver</param-value> </init-param> </servlet> <servlet-mapping> <servlet-name>RovctdDataServlet</servlet-name> <url-pattern>/servlet/RovctdDataServlet</url-pattern> </servlet-mapping> <resource-ref> <description> Resource reference to a factory for java.sql.Connection instances that may be used for talking to a particular database that is configured in the server.xml file. </description> <res-ref-name>jdbc/ROVCTD</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref> </web-app>

Document generated by Confluence on Feb 04, 2026 08:50