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

  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE web-app
  3. PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
  4. "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
  5. <web-app>
  6. <display-name>
  7. AddressBook Manager
  8. </display-name>
  9. <servlet>
  10. <servlet-name>getList</servlet-name>
  11. <servlet-class>com.bullseyecomputing.servlets.ListQueryServlet</servlet-class>
  12. <init-param>
  13. <param-name>jdbcDriver</param-name>
  14. <param-value>org.postgresql.Driver</param-value>
  15. </init-param>
  16. <init-param>
  17. <param-name>jdbcURL</param-name>
  18. <param-value>jdbc:postgresql:jimi</param-value>
  19. </init-param>
  20. <init-param>
  21. <param-name>jdbcUser</param-name>
  22. <param-value>guest</param-value>
  23. </init-param>
  24. <init-param>
  25. <param-name>jdbcPassword</param-name>
  26. <param-value></param-value>
  27. </init-param>
  28. <init-param>
  29. <param-name>table</param-name>
  30. <param-value>address</param-value>
  31. </init-param>
  32. <init-param>
  33. <param-name>selected</param-name>
  34. <param-value>
  35. id,name,street,city,state,zipcode,zipext
  36. </param-value>
  37. </init-param>
  38. </servlet>
  39. <servlet>
  40. <servlet-name>getData</servlet-name>
  41. <servlet-class>
  42. com.bullseyecomputing.servlets.FilterQueryServlet
  43. </servlet-class>
  44. </servlet>
  45. <servlet>
  46. <servlet-name>getDetail</servlet-name>
  47. <servlet-class>
  48. com.bullseyecomputing.servlets.DetailQueryServlet
  49. </servlet-class>
  50. <init-param>
  51. <param-name>jdbcDriver</param-name>
  52. <param-value>org.postgresql.Driver</param-value>
  53. </init-param>
  54. <init-param>
  55. <param-name>jdbcURL</param-name>
  56. <param-value>jdbc:postgresql:jimi</param-value>
  57. </init-param>
  58. <init-param>
  59. <param-name>jdbcUser</param-name>
  60. <param-value>guest</param-value>
  61. </init-param>
  62. <init-param>
  63. <param-name>jdbcPassword</param-name>
  64. <param-value></param-value>
  65. </init-param>
  66. <init-param>
  67. <param-name>table</param-name>
  68. <param-value>address</param-value>
  69. </init-param>
  70. <init-param>
  71. <param-name>selected</param-name>
  72. <param-value>
  73. id,name,street,city,state,zipcode,zipext,areacode,phone
  74. </param-value>
  75. </init-param>
  76. </servlet>
  77. <servlet>
  78. <servlet-name>getTest</servlet-name>
  79. <servlet-class>com.bullseyecomputing.test.RequestTestServlet</servlet-class>
  80. </servlet>
  81. <servlet-mapping>
  82. <servlet-name>getList</servlet-name>
  83. <url-pattern>/getList</url-pattern>
  84. </servlet-mapping>
  85. <servlet-mapping>
  86. <servlet-name>getData</servlet-name>
  87. <url-pattern>/getData</url-pattern>
  88. </servlet-mapping>
  89. <servlet-mapping>
  90. <servlet-name>getDetail</servlet-name>
  91. <url-pattern>/getDetail</url-pattern>
  92. </servlet-mapping>
  93. <servlet-mapping>
  94. <servlet-name>getTest</servlet-name>
  95. <url-pattern>/getTest</url-pattern>
  96. </servlet-mapping>
  97. <session-config>
  98. <session-timeout>90</session-timeout>
  99. </session-config>
  100. <security-constraint>
  101. <web-resource-collection>
  102. <web-resource-name>Trucking App</web-resource-name>
  103. <url-pattern>/index.jsp</url-pattern>
  104. <url-pattern>/getList</url-pattern>
  105. <url-pattern>/getData</url-pattern>
  106. </web-resource-collection>
  107. <auth-constraint>
  108. <role-name>user</role-name>
  109. </auth-constraint>
  110. </security-constraint>
  111. <login-config>
  112. <auth-method>FORM</auth-method>
  113. <form-login-config>
  114. <form-login-page>/login.jsp</form-login-page>
  115. <form-error-page>/login.jsp</form-error-page>
  116. </form-login-config>
  117. </login-config>
  118. </web-app>