| 1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
|---|
| 2 |
|
|---|
| 3 |
<!-- publicweb.xml and userweb.xml in source WEB-INF should be |
|---|
| 4 |
identical except for the security piece. |
|---|
| 5 |
--> |
|---|
| 6 |
|
|---|
| 7 |
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" |
|---|
| 8 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|---|
| 9 |
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee |
|---|
| 10 |
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" |
|---|
| 11 |
version="2.4"> |
|---|
| 12 |
<display-name>UWCal public client</display-name> |
|---|
| 13 |
|
|---|
| 14 |
<context-param> |
|---|
| 15 |
<param-name>rpiappname</param-name> |
|---|
| 16 |
<param-value>@APP-NAME@</param-value> |
|---|
| 17 |
</context-param> |
|---|
| 18 |
|
|---|
| 19 |
<context-param> |
|---|
| 20 |
<param-name>debug</param-name> |
|---|
| 21 |
<param-value>@RPI-DEBUG@</param-value> |
|---|
| 22 |
</context-param> |
|---|
| 23 |
|
|---|
| 24 |
<filter> |
|---|
| 25 |
<filter-name>XSLT Filter</filter-name> |
|---|
| 26 |
<filter-class>edu.rpi.sss.util.servlets.ConfiguredXSLTFilter</filter-class> |
|---|
| 27 |
<init-param> |
|---|
| 28 |
<param-name>debug</param-name> |
|---|
| 29 |
<param-value>@RPI-DEBUG@</param-value> |
|---|
| 30 |
</init-param> |
|---|
| 31 |
<init-param> |
|---|
| 32 |
<param-name>directoryBrowsingDisallowed</param-name> |
|---|
| 33 |
<param-value>@DIRECTORY-BROWSING-DISALLOWED@</param-value> |
|---|
| 34 |
</init-param> |
|---|
| 35 |
<init-param> |
|---|
| 36 |
<param-name>ignoreContentType</param-name> |
|---|
| 37 |
<param-value>false</param-value> |
|---|
| 38 |
</init-param> |
|---|
| 39 |
</filter> |
|---|
| 40 |
|
|---|
| 41 |
<filter> |
|---|
| 42 |
<filter-name>SvcI Filter</filter-name> |
|---|
| 43 |
<filter-class>edu.rpi.cct.uwcal.webcommon.UWCalSvciFilter</filter-class> |
|---|
| 44 |
<init-param> |
|---|
| 45 |
<param-name>debug</param-name> |
|---|
| 46 |
<param-value>@RPI-DEBUG@</param-value> |
|---|
| 47 |
</init-param> |
|---|
| 48 |
</filter> |
|---|
| 49 |
|
|---|
| 50 |
<filter> |
|---|
| 51 |
<filter-name>Session Filter</filter-name> |
|---|
| 52 |
<filter-class>edu.rpi.sss.util.servlets.SessionFilter</filter-class> |
|---|
| 53 |
<init-param> |
|---|
| 54 |
<param-name>debug</param-name> |
|---|
| 55 |
<param-value>@RPI-DEBUG@</param-value> |
|---|
| 56 |
</init-param> |
|---|
| 57 |
<init-param> |
|---|
| 58 |
<param-name>attributePrefix</param-name> |
|---|
| 59 |
<param-value>org.bedework.portlet.@APP-NAME@</param-value> |
|---|
| 60 |
</init-param> |
|---|
| 61 |
</filter> |
|---|
| 62 |
|
|---|
| 63 |
<!-- not yet - need to reconfig jboss - see cocoon install for hints |
|---|
| 64 |
<filter> |
|---|
| 65 |
<filter-name>FOP Filter</filter-name> |
|---|
| 66 |
<filter-class>edu.rpi.sss.util.servlets.FOPFilter</filter-class> |
|---|
| 67 |
<init-param> |
|---|
| 68 |
<param-name>debug</param-name> |
|---|
| 69 |
<param-value>0</param-value> |
|---|
| 70 |
</init-param> |
|---|
| 71 |
<init-param> |
|---|
| 72 |
<param-name>dump</param-name> |
|---|
| 73 |
<param-value>false</param-value> |
|---|
| 74 |
</init-param> |
|---|
| 75 |
</filter> --> |
|---|
| 76 |
|
|---|
| 77 |
<!-- XSLT should get the response before the FOPFilter --> |
|---|
| 78 |
|
|---|
| 79 |
<filter-mapping> |
|---|
| 80 |
<filter-name>Session Filter</filter-name> |
|---|
| 81 |
<url-pattern>/*</url-pattern> |
|---|
| 82 |
<dispatcher>INCLUDE</dispatcher> |
|---|
| 83 |
<dispatcher>FORWARD</dispatcher> |
|---|
| 84 |
<dispatcher>REQUEST</dispatcher> |
|---|
| 85 |
</filter-mapping> |
|---|
| 86 |
|
|---|
| 87 |
<filter-mapping> |
|---|
| 88 |
<filter-name>SvcI Filter</filter-name> |
|---|
| 89 |
<url-pattern>*.do</url-pattern> |
|---|
| 90 |
<dispatcher>INCLUDE</dispatcher> |
|---|
| 91 |
<dispatcher>FORWARD</dispatcher> |
|---|
| 92 |
<dispatcher>REQUEST</dispatcher> |
|---|
| 93 |
</filter-mapping> |
|---|
| 94 |
|
|---|
| 95 |
<!-- |
|---|
| 96 |
<filter-mapping> |
|---|
| 97 |
<filter-name>FOP Filter</filter-name> |
|---|
| 98 |
<url-pattern>/*</url-pattern> |
|---|
| 99 |
</filter-mapping> |
|---|
| 100 |
--> |
|---|
| 101 |
|
|---|
| 102 |
<filter-mapping> |
|---|
| 103 |
<filter-name>SvcI Filter</filter-name> |
|---|
| 104 |
<url-pattern>*.rdo</url-pattern> |
|---|
| 105 |
<dispatcher>INCLUDE</dispatcher> |
|---|
| 106 |
<dispatcher>FORWARD</dispatcher> |
|---|
| 107 |
<dispatcher>REQUEST</dispatcher> |
|---|
| 108 |
</filter-mapping> |
|---|
| 109 |
|
|---|
| 110 |
<filter-mapping> |
|---|
| 111 |
<filter-name>XSLT Filter</filter-name> |
|---|
| 112 |
<url-pattern>*.rdo</url-pattern> |
|---|
| 113 |
<dispatcher>INCLUDE</dispatcher> |
|---|
| 114 |
<dispatcher>FORWARD</dispatcher> |
|---|
| 115 |
<dispatcher>REQUEST</dispatcher> |
|---|
| 116 |
</filter-mapping> |
|---|
| 117 |
|
|---|
| 118 |
<listener> |
|---|
| 119 |
<listener-class>edu.rpi.sss.util.jsp.SessionListener</listener-class> |
|---|
| 120 |
</listener> |
|---|
| 121 |
|
|---|
| 122 |
<servlet> |
|---|
| 123 |
<servlet-name>action</servlet-name> |
|---|
| 124 |
<servlet-class> |
|---|
| 125 |
org.apache.portals.bridges.struts.PortletServlet |
|---|
| 126 |
</servlet-class> |
|---|
| 127 |
|
|---|
| 128 |
<load-on-startup>1</load-on-startup> |
|---|
| 129 |
</servlet> |
|---|
| 130 |
|
|---|
| 131 |
<servlet-mapping> |
|---|
| 132 |
<servlet-name>action</servlet-name> |
|---|
| 133 |
<url-pattern>*.rdo</url-pattern> |
|---|
| 134 |
</servlet-mapping> |
|---|
| 135 |
|
|---|
| 136 |
<servlet-mapping> |
|---|
| 137 |
<servlet-name>action</servlet-name> |
|---|
| 138 |
<url-pattern>*.do</url-pattern> |
|---|
| 139 |
</servlet-mapping> |
|---|
| 140 |
|
|---|
| 141 |
<session-config> |
|---|
| 142 |
<session-timeout>30</session-timeout> |
|---|
| 143 |
</session-config> |
|---|
| 144 |
|
|---|
| 145 |
<!-- This should be the name of the action we want to execute for a |
|---|
| 146 |
url with no path component. A file of this name must exist but will |
|---|
| 147 |
not be used (except to fool the container). --> |
|---|
| 148 |
<welcome-file-list> |
|---|
| 149 |
<welcome-file>setup.do</welcome-file> |
|---|
| 150 |
</welcome-file-list> |
|---|
| 151 |
|
|---|
| 152 |
<jsp-config> |
|---|
| 153 |
<!-- Reference a taglib in the jsp like this: |
|---|
| 154 |
<%@ taglib uri="struts-bean" prefix="bean" %> |
|---|
| 155 |
--> |
|---|
| 156 |
|
|---|
| 157 |
<taglib> |
|---|
| 158 |
<taglib-uri>struts-bean</taglib-uri> |
|---|
| 159 |
<taglib-location>/WEB-INF/tlds/struts-bean.tld</taglib-location> |
|---|
| 160 |
</taglib> |
|---|
| 161 |
<taglib> |
|---|
| 162 |
<taglib-uri>struts-html</taglib-uri> |
|---|
| 163 |
<taglib-location>/WEB-INF/tlds/struts-html.tld</taglib-location> |
|---|
| 164 |
</taglib> |
|---|
| 165 |
<!-- use html struts tag library for genurl --> |
|---|
| 166 |
<taglib> |
|---|
| 167 |
<taglib-uri>struts-genurl</taglib-uri> |
|---|
| 168 |
<taglib-location>/WEB-INF/tlds/struts-portlet.tld</taglib-location> |
|---|
| 169 |
</taglib> |
|---|
| 170 |
<taglib> |
|---|
| 171 |
<taglib-uri>struts-logic</taglib-uri> |
|---|
| 172 |
<taglib-location>/WEB-INF/tlds/struts-logic.tld</taglib-location> |
|---|
| 173 |
</taglib> |
|---|
| 174 |
<taglib> |
|---|
| 175 |
<taglib-uri>struts-template</taglib-uri> |
|---|
| 176 |
<taglib-location>/WEB-INF/tlds/struts-template.tld</taglib-location> |
|---|
| 177 |
</taglib> |
|---|
| 178 |
</jsp-config> |
|---|
| 179 |
|
|---|
| 180 |
<!-- JDBC DataSources (java:comp/env/jdbc) --> |
|---|
| 181 |
<resource-ref> |
|---|
| 182 |
<description>The calendar DS</description> |
|---|
| 183 |
<res-ref-name>jdbc/calDB</res-ref-name> |
|---|
| 184 |
<res-type>javax.sql.DataSource</res-type> |
|---|
| 185 |
<res-auth>Container</res-auth> |
|---|
| 186 |
</resource-ref> |
|---|
| 187 |
|
|---|
| 188 |
<!-- Insert ejb-ref here --> |
|---|
| 189 |
</web-app> |
|---|