JSP Addressbook app for VIP Express (circa Jun 2002)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 

129 lines
3.5 KiB

<?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>
<display-name>
AddressBook Manager
</display-name>
<servlet>
<servlet-name>getList</servlet-name>
<servlet-class>com.bullseyecomputing.servlets.ListQueryServlet</servlet-class>
<init-param>
<param-name>jdbcDriver</param-name>
<param-value>org.postgresql.Driver</param-value>
</init-param>
<init-param>
<param-name>jdbcURL</param-name>
<param-value>jdbc:postgresql:jimi</param-value>
</init-param>
<init-param>
<param-name>jdbcUser</param-name>
<param-value>guest</param-value>
</init-param>
<init-param>
<param-name>jdbcPassword</param-name>
<param-value></param-value>
</init-param>
<init-param>
<param-name>table</param-name>
<param-value>address</param-value>
</init-param>
<init-param>
<param-name>selected</param-name>
<param-value>
id,name,street,city,state,zipcode,zipext
</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>getData</servlet-name>
<servlet-class>
com.bullseyecomputing.servlets.FilterQueryServlet
</servlet-class>
</servlet>
<servlet>
<servlet-name>getDetail</servlet-name>
<servlet-class>
com.bullseyecomputing.servlets.DetailQueryServlet
</servlet-class>
<init-param>
<param-name>jdbcDriver</param-name>
<param-value>org.postgresql.Driver</param-value>
</init-param>
<init-param>
<param-name>jdbcURL</param-name>
<param-value>jdbc:postgresql:jimi</param-value>
</init-param>
<init-param>
<param-name>jdbcUser</param-name>
<param-value>guest</param-value>
</init-param>
<init-param>
<param-name>jdbcPassword</param-name>
<param-value></param-value>
</init-param>
<init-param>
<param-name>table</param-name>
<param-value>address</param-value>
</init-param>
<init-param>
<param-name>selected</param-name>
<param-value>
id,name,street,city,state,zipcode,zipext,areacode,phone
</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>getTest</servlet-name>
<servlet-class>com.bullseyecomputing.test.RequestTestServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>getList</servlet-name>
<url-pattern>/getList</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>getData</servlet-name>
<url-pattern>/getData</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>getDetail</servlet-name>
<url-pattern>/getDetail</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>getTest</servlet-name>
<url-pattern>/getTest</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>90</session-timeout>
</session-config>
<security-constraint>
<web-resource-collection>
<web-resource-name>Trucking App</web-resource-name>
<url-pattern>/index.jsp</url-pattern>
<url-pattern>/getList</url-pattern>
<url-pattern>/getData</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>user</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/login.jsp</form-login-page>
<form-error-page>/login.jsp</form-error-page>
</form-login-config>
</login-config>
</web-app>