Mercurial > hg > digilib-old
comparison client/digitallibrary/WEB-INF/web.xml @ 107:85126da2ae21 vendor start
XUL: Digilib Buttons in chrome
author | engler |
---|---|
date | Tue, 13 May 2003 21:02:22 +0200 |
parents | 4c7b1eedb186 |
children |
comparison
equal
deleted
inserted
replaced
105:ecee3ff2f4d0 | 107:85126da2ae21 |
---|---|
1 <!DOCTYPE web-app | 1 <!DOCTYPE web-app |
2 PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" | 2 PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" |
3 "http://java.sun.com/dtd/web-app_2_3.dtd"> | 3 "http://java.sun.com/dtd/web-app_2_3.dtd"> |
4 | 4 |
5 <web-app> | 5 <web-app> |
6 | 6 <!-- General description of your web application --> |
7 | 7 <display-name> |
8 <!-- General description of your web application --> | 8 digilib |
9 | 9 </display-name> |
10 <display-name>Docuserver</display-name> | 10 <description> |
11 <description> | 11 This is the web frontend of the Digital Document Library. |
12 This is the web frontend of Docuserver. | 12 </description> |
13 </description> | 13 <!-- The Scaler servlet --> |
14 | 14 <servlet> |
15 | 15 <servlet-name> |
16 <servlet> | 16 Scaler |
17 <servlet-name>Scaler</servlet-name> | 17 </servlet-name> |
18 <description> | 18 <description> |
19 The servlet to scale the digilib images. | 19 The servlet to scale the digilib images. |
20 </description> | 20 </description> |
21 <servlet-class>digilib.servlet.Scaler</servlet-class> | 21 <servlet-class> |
22 <!-- parameters to the servlet --> | 22 digilib.servlet.Scaler |
23 <init-param> | 23 </servlet-class> |
24 <param-name>config-file</param-name> | 24 <!-- parameters to the servlet --> |
25 <param-value> | 25 <init-param> |
26 /docuserver/www/digitallibrary/WEB-INF/digilib-config.xml | 26 <param-name> |
27 </param-value> | 27 config-file |
28 </init-param> | 28 </param-name> |
29 <!-- Load this servlet at server startup time --> | 29 <param-value> |
30 <load-on-startup>5</load-on-startup> | 30 /docuserver/www/digitallibrary/WEB-INF/digilib-config.xml |
31 </servlet> | 31 </param-value> |
32 | 32 </init-param> |
33 <!-- Load this servlet at server startup time --> | |
34 <load-on-startup> | |
35 5 | |
36 </load-on-startup> | |
37 </servlet> | |
33 <!-- We want to finger around with the default JSP servlet... --> | 38 <!-- We want to finger around with the default JSP servlet... --> |
34 <servlet> | 39 <servlet> |
35 <servlet-name>doc-jsp</servlet-name> | 40 <servlet-name> |
36 <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class> | 41 doc-jsp |
37 <init-param> | 42 </servlet-name> |
38 <param-name>logVerbosityLevel</param-name> | 43 <servlet-class> |
39 <param-value>WARNING</param-value> | 44 org.apache.jasper.servlet.JspServlet |
40 </init-param> | 45 </servlet-class> |
41 <!-- parameters to the servlet --> | 46 <!-- parameters to the JSP servlet --> |
42 <init-param> | 47 <init-param> |
43 <param-name>config-file</param-name> | 48 <param-name> |
44 <param-value> | 49 logVerbosityLevel |
45 /docuserver/www/digitallibrary/WEB-INF/digilib-config.xml | 50 </param-name> |
46 </param-value> | 51 <param-value> |
47 </init-param> | 52 WARNING |
48 <load-on-startup>3</load-on-startup> | 53 </param-value> |
54 </init-param> | |
55 <init-param> | |
56 <param-name> | |
57 config-file | |
58 </param-name> | |
59 <param-value> | |
60 /docuserver/www/digitallibrary/WEB-INF/digilib-config.xml | |
61 </param-value> | |
62 </init-param> | |
63 <load-on-startup> | |
64 3 | |
65 </load-on-startup> | |
49 </servlet> | 66 </servlet> |
50 | 67 <!-- The mapping for the Scaler servlet --> |
51 | 68 <servlet-mapping> |
69 <servlet-name> | |
70 Scaler | |
71 </servlet-name> | |
72 <url-pattern> | |
73 /servlet/Scaler/* | |
74 </url-pattern> | |
75 </servlet-mapping> | |
52 <!-- The mapping for the JSP servlet --> | 76 <!-- The mapping for the JSP servlet --> |
53 <servlet-mapping> | 77 <servlet-mapping> |
54 <servlet-name>doc-jsp</servlet-name> | 78 <servlet-name> |
55 <url-pattern>*.jsp</url-pattern> | 79 doc-jsp |
80 </servlet-name> | |
81 <url-pattern> | |
82 *.jsp | |
83 </url-pattern> | |
56 </servlet-mapping> | 84 </servlet-mapping> |
57 | |
58 | |
59 <!-- region for authenticated access --> | 85 <!-- region for authenticated access --> |
60 <security-constraint> | 86 <security-constraint> |
61 <web-resource-collection> | 87 <web-resource-collection> |
62 <web-resource-name>Authenticated Digilib</web-resource-name> | 88 <web-resource-name> |
63 <url-pattern>/authenticated/*</url-pattern> | 89 Authenticated Digilib |
64 </web-resource-collection> | 90 </web-resource-name> |
65 <auth-constraint> | 91 <url-pattern> |
66 <role-name>user</role-name> | 92 /authenticated/* |
67 </auth-constraint> | 93 </url-pattern> |
68 </security-constraint> | 94 </web-resource-collection> |
69 | 95 <!-- we need a default user --> |
70 <login-config> | 96 <auth-constraint> |
71 <!-- | 97 <role-name> |
72 <auth-method>BASIC</auth-method> | 98 user |
73 <realm-name>digilib</realm-name> | 99 </role-name> |
74 --> | 100 </auth-constraint> |
75 <auth-method>FORM</auth-method> | 101 </security-constraint> |
76 <form-login-config> | 102 <login-config> |
77 <form-login-page>/digilib-login.html</form-login-page> | 103 <!-- |
78 <form-error-page>/digilib-fail.html</form-error-page> | 104 <auth-method>BASIC</auth-method> |
79 </form-login-config> | 105 <realm-name>digilib</realm-name> |
80 | 106 --> |
81 </login-config> | 107 <auth-method> |
82 | 108 FORM |
109 </auth-method> | |
110 <form-login-config> | |
111 <form-login-page> | |
112 /digilib-login.html | |
113 </form-login-page> | |
114 <form-error-page> | |
115 /digilib-fail.html | |
116 </form-error-page> | |
117 </form-login-config> | |
118 </login-config> | |
83 </web-app> | 119 </web-app> |