root/trunk/calendar3/webclient/war/WEB-INF/publicweb.xml

Revision 312 (checked in by douglm, 7 years ago)

A number of webclient changes

1. Move events related jsp into docs/event
2. Split out common/short/detailed/all event fields
3. Emit more xml, organizer and attendees
4. Add taglib component to webcommon and add tag to emit tagged xml

Line 
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <!-- guest/web.xml and user/web.xml in uwcalxml 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>bwappname</param-name>
21     <param-value>@BW-APP-NAME@</param-value>
22   </context-param>
23
24   <context-param>
25     <param-name>debug</param-name>
26     <param-value>@RPI-DEBUG@</param-value>
27   </context-param>
28
29   <filter>
30     <filter-name>XSLT Filter</filter-name>
31     <filter-class>edu.rpi.sss.util.servlets.ConfiguredXSLTFilter</filter-class>
32     <init-param>
33       <param-name>debug</param-name>
34       <param-value>@RPI-DEBUG@</param-value>
35     </init-param>
36     <init-param>
37       <param-name>directoryBrowsingDisallowed</param-name>
38       <param-value>@DIRECTORY-BROWSING-DISALLOWED@</param-value>
39     </init-param>
40   </filter>
41
42   <filter>
43     <filter-name>SvcI Filter</filter-name>
44     <filter-class>org.bedework.webcommon.BwSvciFilter</filter-class>
45     <init-param>
46       <param-name>debug</param-name>
47       <param-value>@RPI-DEBUG@</param-value>
48     </init-param>
49   </filter>
50
51   <!-- not yet - need to reconfig jboss - see cocoon install for hints
52   <filter>
53     <filter-name>FOP Filter</filter-name>
54     <filter-class>edu.rpi.sss.util.servlets.FOPFilter</filter-class>
55     <init-param>
56       <param-name>debug</param-name>
57       <param-value>0</param-value>
58     </init-param>
59     <init-param>
60       <param-name>dump</param-name>
61       <param-value>false</param-value>
62     </init-param>
63   </filter> -->
64
65   <!-- XSLT should get the response before the FOPFilter -->
66
67   <filter-mapping>
68     <filter-name>SvcI Filter</filter-name>
69     <url-pattern>*.do</url-pattern>
70     <dispatcher>INCLUDE</dispatcher>
71     <dispatcher>FORWARD</dispatcher>
72     <dispatcher>REQUEST</dispatcher>
73   </filter-mapping>
74
75 <!--
76   <filter-mapping>
77     <filter-name>FOP Filter</filter-name>
78     <url-pattern>/*</url-pattern>
79   </filter-mapping>
80        -->
81
82   <filter-mapping>
83     <filter-name>SvcI Filter</filter-name>
84     <url-pattern>*.rdo</url-pattern>
85     <dispatcher>INCLUDE</dispatcher>
86     <dispatcher>FORWARD</dispatcher>
87     <dispatcher>REQUEST</dispatcher>
88   </filter-mapping>
89
90   <filter-mapping>
91     <filter-name>XSLT Filter</filter-name>
92     <url-pattern>*.rdo</url-pattern>
93     <dispatcher>INCLUDE</dispatcher>
94     <dispatcher>FORWARD</dispatcher>
95     <dispatcher>REQUEST</dispatcher>
96   </filter-mapping>
97
98   <listener>
99     <listener-class>edu.rpi.sss.util.jsp.SessionListener</listener-class>
100   </listener>
101
102   <servlet>
103     <servlet-name>action</servlet-name>
104     <servlet-class>
105       org.apache.struts.action.ActionServlet
106     </servlet-class>
107
108     <load-on-startup>1</load-on-startup>
109   </servlet>
110
111   <servlet-mapping>
112     <servlet-name>action</servlet-name>
113     <url-pattern>*.rdo</url-pattern>
114   </servlet-mapping>
115
116   <servlet-mapping>
117     <servlet-name>action</servlet-name>
118     <url-pattern>*.do</url-pattern>
119   </servlet-mapping>
120
121   <session-config>
122     <session-timeout>30</session-timeout>
123   </session-config>
124
125   <!-- This should be the name of the action we want to execute for a
126        url with no path component. A file of this name must exist but will
127        not be used (except to fool the container). -->
128   <welcome-file-list>
129     <welcome-file>setup.do</welcome-file>
130   </welcome-file-list>
131
132   <jsp-config>
133     <!--  Reference a taglib in the jsp like this:
134       <%@ taglib uri="struts-bean" prefix="bean" %>
135      -->
136
137     <taglib>
138       <taglib-uri>struts-bean</taglib-uri>
139       <taglib-location>/WEB-INF/tlds/struts-bean.tld</taglib-location>
140     </taglib>
141     <taglib>
142       <taglib-uri>struts-html</taglib-uri>
143       <taglib-location>/WEB-INF/tlds/struts-html.tld</taglib-location>
144     </taglib>
145     <!-- use html struts tag library for genurl -->
146     <taglib>
147       <taglib-uri>struts-genurl</taglib-uri>
148       <taglib-location>/WEB-INF/tlds/struts-html.tld</taglib-location>
149     </taglib>
150     <taglib>
151       <taglib-uri>struts-logic</taglib-uri>
152       <taglib-location>/WEB-INF/tlds/struts-logic.tld</taglib-location>
153     </taglib>
154     <taglib>
155       <taglib-uri>struts-template</taglib-uri>
156       <taglib-location>/WEB-INF/tlds/struts-template.tld</taglib-location>
157     </taglib>
158
159     <taglib>
160       <taglib-uri>bedework</taglib-uri>
161       <taglib-location>/WEB-INF/tlds/bedework.tld</taglib-location>
162     </taglib>
163   </jsp-config>
164
165   <!-- JDBC DataSources (java:comp/env/jdbc) -->
166   <resource-ref>
167     <description>The calendar DS</description>
168     <res-ref-name>jdbc/calDB</res-ref-name>
169     <res-type>javax.sql.DataSource</res-type>
170     <res-auth>Container</res-auth>
171   </resource-ref>
172
173   <!-- Insert ejb-ref here -->
174 </web-app>
Note: See TracBrowser for help on using the browser.