<Context> <!-- Default set of monitored resources --> <WatchedResource>WEB-INF/web.xml</WatchedResource> <!-- Uncomment this to disable session persistence across Tomcat restarts --> <!-- <Manager pathname="" /> --> <!-- Uncomment this to enable Comet connection tacking (provides events on session expiration as well as webapp lifecycle) --> <!-- <Valve className="org.apache.catalina.valves.CometConnectionManagerValve" /> --> <Resource name="jdbc/LyricNote" auth="Container" type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000" username="prabhat" password="prabhat" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3309/support"/> </Context>
<?xml version="1.0" encoding="ISO-8859-1"?> <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd" version="2.4"> <display-name> Chapter 19 of JSP 2.0 - The Complete Reference </display-name> <servlet> <servlet-name>controller</servlet-name> <servlet-class> com.lyricnote.support.controller.ControllerServlet </servlet-class> </servlet> <servlet-mapping> <servlet-name>controller</servlet-name> <url-pattern>/servlet/controller/*</url-pattern> </servlet-mapping> <resource-ref> <description>Product support database</description> <res-ref-name>jdbc/LyricNote</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref> </web-app>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)