source: main/trunk/greenstone3/web/WEB-INF/servlets.xml@ 30171

Last change on this file since 30171 was 30171, checked in by kjdon, 6 years ago

david wanted halftone-library rather than ht-library

File size: 5.5 KB
Line 
1<servlet>
2 <servlet-name>library</servlet-name>
3 <description>The standard gsdl3 library program</description>
4 <servlet-class>org.greenstone.gsdl3.LibraryServlet</servlet-class>
5 <init-param>
6 <param-name>library_name</param-name>
7 <param-value>library</param-value>
8 </init-param>
9 <init-param>
10 <param-name>site_name</param-name>
11 <param-value>localsite</param-value>
12 </init-param>
13 <init-param>
14 <param-name>interface_name</param-name>
15 <param-value>default</param-value>
16 </init-param>
17 <init-param>
18 <param-name>receptionist_class</param-name>
19 <param-value>DefaultReceptionist</param-value>
20 </init-param>
21 <init-param>
22 <param-name>default_lang</param-name>
23 <param-value>en</param-value>
24 </init-param>
25</servlet>
26<servlet>
27 <servlet-name>halftone-library</servlet-name>
28 <description>A library servlet using the standard content, but with the halftone interface.</description>
29 <servlet-class>org.greenstone.gsdl3.LibraryServlet</servlet-class>
30 <init-param>
31 <param-name>library_name</param-name>
32 <param-value>halftone-library</param-value>
33 </init-param>
34 <init-param>
35 <param-name>site_name</param-name>
36 <param-value>localsite</param-value>
37 </init-param>
38 <init-param>
39 <param-name>interface_name</param-name>
40 <param-value>halftone</param-value>
41 </init-param>
42 <init-param>
43 <param-name>receptionist_class</param-name>
44 <param-value>DefaultReceptionist</param-value>
45 </init-param>
46 <init-param>
47 <param-name>default_lang</param-name>
48 <param-value>en</param-value>
49 </init-param>
50</servlet>
51
52<!--<servlet>
53 <servlet-name>gs2-library</servlet-name>
54 <description>Greenstone 2 lookalike library program: uses localsite with the gs2 interface</description>
55 <servlet-class>org.greenstone.gsdl3.LibraryServlet</servlet-class>
56 <init-param>
57 <param-name>library_name</param-name>
58 <param-value>gs2-library</param-value>
59 </init-param>
60 <init-param>
61 <param-name>site_name</param-name>
62 <param-value>localsite</param-value>
63 </init-param>
64 <init-param>
65 <param-name>interface_name</param-name>
66 <param-value>gs2</param-value>
67 </init-param>
68 <init-param>
69 <param-name>default_lang</param-name>
70 <param-value>en</param-value>
71 </init-param>
72 <init-param>
73 <param-name>session_expiration</param-name>
74 <param-value>1800</param-value>
75 </init-param>
76 <init-param>
77 <param-name>params_class</param-name>
78 <param-value>GS2Params</param-value>
79 </init-param>
80</servlet-->
81
82<!--<servlet>
83 <servlet-name>nzdl-library</servlet-name>
84 <description>gsdl3 library program</description>
85 <servlet-class>org.greenstone.gsdl3.LibraryServlet</servlet-class>
86 <init-param>
87 <param-name>library_name</param-name>
88 <param-value>nzdl</param-value>
89 </init-param>
90 <init-param>
91 <param-name>site_name</param-name>
92 <param-value>nzdl</param-value>
93 </init-param>
94 <init-param>
95 <param-name>interface_name</param-name>
96 <param-value>nzdl</param-value>
97 </init-param>
98 <init-param>
99 <param-name>default_lang</param-name>
100 <param-value>en</param-value>
101 </init-param>
102 <init-param>
103 <param-name>params_class</param-name>
104 <param-value>NZDLParams</param-value>
105 </init-param>
106 <init-param>
107 <param-name>session_expiration</param-name>
108 <param-value>600</param-value>
109 </init-param>
110</servlet>-->
111
112<!--<servlet>
113 <servlet-name>gateway</servlet-name>
114 <description>gsdl3 library based on gateway site and basic interface. It uses SOAP to talk to localsite</description>
115 <servlet-class>org.greenstone.gsdl3.LibraryServlet</servlet-class>
116 <init-param>
117 <param-name>library_name</param-name>
118 <param-value>gateway</param-value>
119 </init-param>
120 <init-param>
121 <param-name>site_name</param-name>
122 <param-value>gateway</param-value>
123 </init-param>
124 <init-param>
125 <param-name>interface_name</param-name>
126 <param-value>basic</param-value>
127 </init-param>
128 <init-param>
129 <param-name>default_lang</param-name>
130 <param-value>en</param-value>
131 </init-param>
132</servlet>-->
133
134<!--<servlet>
135 <servlet-name>basic-library</servlet-name>
136 <description>basic gsdl3 library program: uses localsite and the basic interface</description>
137 <servlet-class>org.greenstone.gsdl3.LibraryServlet</servlet-class>
138 <init-param>
139 <param-name>library_name</param-name>
140 <param-value>basic-library</param-value>
141 </init-param>
142 <init-param>
143 <param-name>site_name</param-name>
144 <param-value>localsite</param-value>
145 </init-param>
146 <init-param>
147 <param-name>interface_name</param-name>
148 <param-value>basic</param-value>
149 </init-param>
150 <init-param>
151 <param-name>default_lang</param-name>
152 <param-value>en</param-value>
153 </init-param>
154 <init-param>
155 <param-name>allow_client_side_xslt</param-name>
156 <param-value>true</param-value>
157 </init-param>
158</servlet>-->
159
160<!-- the /* in the url-pattern below is necessary for the restful URLs to work.
161 e.g. greenstone3/library/collection/lucene-jdbm-demo/page/about
162-->
163<servlet-mapping>
164 <servlet-name>library</servlet-name>
165 <url-pattern>/library/*</url-pattern>
166</servlet-mapping>
167<servlet-mapping>
168 <servlet-name>halftone-library</servlet-name>
169 <url-pattern>/halftone-library/*</url-pattern>
170</servlet-mapping>
171
172<!--<servlet-mapping>
173 <servlet-name>gs2-library</servlet-name>
174 <url-pattern>/gs2-library</url-pattern>
175</servlet-mapping>
176
177<servlet-mapping>
178 <servlet-name>nzdl-library</servlet-name>
179 <url-pattern>/nzdl</url-pattern>
180</servlet-mapping>
181
182<servlet-mapping>
183 <servlet-name>gateway</servlet-name>
184 <url-pattern>/gateway</url-pattern>
185</servlet-mapping>
186
187<servlet-mapping>
188 <servlet-name>basic-library</servlet-name>
189 <url-pattern>/basic-library</url-pattern>
190</servlet-mapping> -->
191
Note: See TracBrowser for help on using the repository browser.