Warning: Attempt to read property "date" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Warning: Attempt to read property "msg" on null in /home/www/websvn.26th.net/html/blame.php on line 247

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/www/websvn.26th.net/html/blame.php on line 247
WebSVN – general – Blame – /hostadmiral/trunk/webapp/WEB-INF/struts-config.xml/ – Rev 899

Subversion Repositories general

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
899 dev 1
<?xml version="1.0" encoding="ISO-8859-1" ?>
2
 
3
<!DOCTYPE struts-config PUBLIC
4
	"-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
5
	"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
6
 
7
<struts-config>
8
	<form-beans>
9
		<form-bean
10
				name="ak.webcontrol.core.form.LoginForm"
11
				type="org.apache.struts.validator.DynaValidatorForm">
12
			<form-property name="login"       type="java.lang.String"   />
13
			<form-property name="password"    type="java.lang.String"   />
14
		</form-bean>
15
 
16
		<form-bean
17
				name="ak.webcontrol.core.form.ChangePasswordForm"
18
				type="ak.webcontrol.core.form.UserPasswordForm">
19
			<form-property name="oldpassword" type="java.lang.String"   />
20
			<form-property name="password"    type="java.lang.String"   />
21
			<form-property name="password2"   type="java.lang.String"   />
22
		</form-bean>
23
 
24
		<form-bean
25
				name="ak.webcontrol.core.form.UserForm"
26
				type="org.apache.struts.validator.DynaValidatorForm">
27
			<form-property name="id"          type="java.lang.String"   />
28
		</form-bean>
29
 
30
		<form-bean
31
				name="ak.webcontrol.core.form.UserEditForm"
32
				type="ak.webcontrol.core.form.UserPasswordForm">
33
			<form-property name="id"          type="java.lang.String"   />
34
			<form-property name="login"       type="java.lang.String"   />
35
			<form-property name="password"    type="java.lang.String"   />
36
			<form-property name="password2"   type="java.lang.String"   />
37
		</form-bean>
38
 
39
		<form-bean
40
				name="ak.webcontrol.core.form.SystemUserForm"
41
				type="org.apache.struts.validator.DynaValidatorForm">
42
			<form-property name="id"          type="java.lang.String"   />
43
		</form-bean>
44
 
45
		<form-bean
46
				name="ak.webcontrol.core.form.SystemUserEditForm"
47
				type="org.apache.struts.validator.DynaValidatorForm">
48
			<form-property name="id"          type="java.lang.String"   />
49
			<form-property name="uid"         type="java.lang.String"   />
50
			<form-property name="name"        type="java.lang.String"   />
51
		</form-bean>
52
 
53
		<form-bean
54
				name="ak.webcontrol.core.form.InetDomainForm"
55
				type="org.apache.struts.validator.DynaValidatorForm">
56
			<form-property name="id"          type="java.lang.String"   />
57
		</form-bean>
58
 
59
		<form-bean
60
				name="ak.webcontrol.core.form.InetDomainEditForm"
61
				type="org.apache.struts.validator.DynaValidatorForm">
62
			<form-property name="id"          type="java.lang.String"   />
63
			<form-property name="name"        type="java.lang.String"   />
64
			<form-property name="owner"       type="java.lang.String"   />
65
		</form-bean>
66
 
67
		<form-bean
68
				name="ak.webcontrol.core.form.MailboxForm"
69
				type="org.apache.struts.validator.DynaValidatorForm">
70
			<form-property name="id"          type="java.lang.String"   />
71
		</form-bean>
72
 
73
		<form-bean
74
				name="ak.webcontrol.core.form.MailboxEditForm"
75
				type="ak.webcontrol.core.form.UserPasswordForm">
76
			<form-property name="id"          type="java.lang.String"   />
77
			<form-property name="login"       type="java.lang.String"   />
78
			<form-property name="password"    type="java.lang.String"   />
79
			<form-property name="password2"   type="java.lang.String"   />
80
			<form-property name="domain"      type="java.lang.String"   />
81
			<form-property name="owner"       type="java.lang.String"   />
82
			<form-property name="viruscheck"  type="java.lang.Boolean"  />
83
			<form-property name="spamcheck"   type="java.lang.Boolean"  />
84
			<form-property name="systemuser"  type="java.lang.String"   />
85
		</form-bean>
86
 
87
		<form-bean
88
				name="ak.webcontrol.core.form.MailAliasForm"
89
				type="org.apache.struts.validator.DynaValidatorForm">
90
			<form-property name="id"          type="java.lang.String"   />
91
		</form-bean>
92
 
93
		<form-bean
94
				name="ak.webcontrol.core.form.MailAliasEditForm"
95
				type="ak.strutsx.ResizeableDynaValidatorForm">
96
			<form-property name="id"          type="java.lang.String"   />
97
			<form-property name="address"     type="java.lang.String"   />
98
			<form-property name="domain"      type="java.lang.String"   />
99
			<form-property name="owner"       type="java.lang.String"   />
100
			<form-property name="dests"       type="ak.webcontrol.core.form.MailAliasDestBean[]"
101
				size="1" />
102
		</form-bean>
103
	</form-beans>
104
 
105
	<global-exceptions>
106
		<!-- FIXME: it doesn't work :( -->
107
		<exception
108
			key="GeneralException"
109
			type="java.lang.Exception"
110
			path="/generalError.jsp"
111
		/>
112
 
113
		<exception
114
			key="UserException"
115
			type="ak.webcontrol.util.UserException"
116
			handler="ak.webcontrol.core.action.UserExceptionHandler"
117
		/>
118
	</global-exceptions>
119
 
120
	<global-forwards>
121
		<forward
122
			name="error"
123
			path="/error.jsp"
124
		/>
125
	</global-forwards>
126
 
127
	<action-mappings>
128
		<action
129
			path="/index"
130
			type="ak.webcontrol.core.action.IndexAction"
131
		>
132
			<forward name="success" path="/index.jsp" />
133
		</action>
134
 
135
		<!-- == system ============================================================================ -->
136
 
137
		<action
138
			path="/system/login"
139
			forward="/system/login.jsp" />
140
 
141
		<action
142
			path="/system/login/submit"
143
			type="ak.webcontrol.core.action.LoginAction"
144
			name="ak.webcontrol.core.form.LoginForm"
145
			validate="true"
146
			scope="request"
147
			input="/system/login.jsp"
148
		>
149
			<forward name="default" path="/index.do" redirect="true" />
150
		</action>
151
 
152
		<action
153
			path="/system/logout"
154
			type="ak.webcontrol.core.action.LogoutAction"
155
		>
156
			<forward name="default" path="/system/logout.jsp" />
157
		</action>
158
 
159
		<!-- == user ============================================================================== -->
160
 
161
		<action
162
			path="/user/password/show"
163
			type="ak.webcontrol.core.action.ChangePasswordAction"
164
			parameter="first"
165
		>
166
			<forward name="default" path="/user/password/change.jsp" />
167
		</action>
168
 
169
		<action
170
			path="/user/password/submit"
171
			type="ak.webcontrol.core.action.ChangePasswordAction"
172
			parameter="submit"
173
			name="ak.webcontrol.core.form.ChangePasswordForm"
174
			validate="true"
175
			scope="request"
176
			input="/user/password/change.jsp"
177
		>
178
		</action>
179
 
180
		<action
181
			path="/user/list"
182
			type="ak.webcontrol.core.action.UserAction"
183
			parameter="list"
184
		>
185
			<forward name="default" path="/user/list.jsp" />
186
		</action>
187
 
188
		<action
189
			path="/user/delete"
190
			type="ak.webcontrol.core.action.UserAction"
191
			parameter="delete"
192
			name="ak.webcontrol.core.form.UserForm"
193
			validate="true"
194
			scope="request"
195
		>
196
		</action>
197
 
198
		<action
199
			path="/user/edit"
200
			type="ak.webcontrol.core.action.UserAction"
201
			parameter="edit"
202
			name="ak.webcontrol.core.form.UserForm"
203
			validate="true"
204
			scope="request"
205
		>
206
			<forward name="default" path="/user/edit.jsp" />
207
		</action>
208
 
209
		<action
210
			path="/user/submit"
211
			type="ak.webcontrol.core.action.UserAction"
212
			parameter="submit"
213
			name="ak.webcontrol.core.form.UserEditForm"
214
			validate="true"
215
			scope="request"
216
			input="/user/edit.jsp"
217
		>
218
		</action>
219
 
220
		<!-- == system user ======================================================================= -->
221
 
222
		<action
223
			path="/user/system/list"
224
			type="ak.webcontrol.core.action.SystemUserAction"
225
			parameter="list"
226
		>
227
			<forward name="default" path="/user/system/list.jsp" />
228
		</action>
229
 
230
		<action
231
			path="/user/system/delete"
232
			type="ak.webcontrol.core.action.SystemUserAction"
233
			parameter="delete"
234
			name="ak.webcontrol.core.form.SystemUserForm"
235
			validate="true"
236
			scope="request"
237
		>
238
		</action>
239
 
240
		<action
241
			path="/user/system/edit"
242
			type="ak.webcontrol.core.action.SystemUserAction"
243
			parameter="edit"
244
			name="ak.webcontrol.core.form.SystemUserForm"
245
			validate="true"
246
			scope="request"
247
		>
248
			<forward name="default" path="/user/system/edit.jsp" />
249
		</action>
250
 
251
		<action
252
			path="/user/system/submit"
253
			type="ak.webcontrol.core.action.SystemUserAction"
254
			parameter="submit"
255
			name="ak.webcontrol.core.form.SystemUserEditForm"
256
			validate="true"
257
			scope="request"
258
			input="/user/system/edit.jsp"
259
		>
260
		</action>
261
 
262
		<!-- == system user ======================================================================= -->
263
 
264
		<action
265
			path="/domain/list"
266
			type="ak.webcontrol.core.action.InetDomainAction"
267
			parameter="list"
268
		>
269
			<forward name="default" path="/domain/list.jsp" />
270
		</action>
271
 
272
		<action
273
			path="/domain/delete"
274
			type="ak.webcontrol.core.action.InetDomainAction"
275
			parameter="delete"
276
			name="ak.webcontrol.core.form.InetDomainForm"
277
			validate="true"
278
			scope="request"
279
		>
280
		</action>
281
 
282
		<action
283
			path="/domain/edit"
284
			type="ak.webcontrol.core.action.InetDomainAction"
285
			parameter="edit"
286
			name="ak.webcontrol.core.form.InetDomainForm"
287
			validate="true"
288
			scope="request"
289
		>
290
			<forward name="default" path="/domain/edit.jsp" />
291
		</action>
292
 
293
		<action
294
			path="/domain/submit"
295
			type="ak.webcontrol.core.action.InetDomainAction"
296
			parameter="submit"
297
			name="ak.webcontrol.core.form.InetDomainEditForm"
298
			validate="true"
299
			scope="request"
300
			input="/domain/edit.jsp"
301
		>
302
		</action>
303
 
304
		<!-- == mail boxes ======================================================================== -->
305
 
306
		<action
307
			path="/mail/box/list"
308
			type="ak.webcontrol.core.action.MailboxAction"
309
			parameter="list"
310
		>
311
			<forward name="default" path="/mail/box/list.jsp" />
312
		</action>
313
 
314
		<action
315
			path="/mail/box/delete"
316
			type="ak.webcontrol.core.action.MailboxAction"
317
			parameter="delete"
318
			name="ak.webcontrol.core.form.MailboxForm"
319
			validate="true"
320
			scope="request"
321
		>
322
		</action>
323
 
324
		<action
325
			path="/mail/box/edit"
326
			type="ak.webcontrol.core.action.MailboxAction"
327
			parameter="edit"
328
			name="ak.webcontrol.core.form.MailboxForm"
329
			validate="true"
330
			scope="request"
331
		>
332
			<forward name="default" path="/mail/box/edit.jsp" />
333
		</action>
334
 
335
		<action
336
			path="/mail/box/submit"
337
			type="ak.webcontrol.core.action.MailboxAction"
338
			parameter="submit"
339
			name="ak.webcontrol.core.form.MailboxEditForm"
340
			validate="true"
341
			scope="request"
342
			input="/mail/box/edit.jsp"
343
		>
344
		</action>
345
 
346
		<!-- == mail aliases ====================================================================== -->
347
 
348
		<action
349
			path="/mail/alias/list"
350
			type="ak.webcontrol.core.action.MailAliasAction"
351
			parameter="list"
352
		>
353
			<forward name="default" path="/mail/alias/list.jsp" />
354
		</action>
355
 
356
		<action
357
			path="/mail/alias/delete"
358
			type="ak.webcontrol.core.action.MailAliasAction"
359
			parameter="delete"
360
			name="ak.webcontrol.core.form.MailAliasForm"
361
			validate="true"
362
			scope="request"
363
		>
364
		</action>
365
 
366
		<action
367
			path="/mail/alias/edit"
368
			type="ak.webcontrol.core.action.MailAliasAction"
369
			parameter="edit"
370
			name="ak.webcontrol.core.form.MailAliasForm"
371
			validate="true"
372
			scope="request"
373
		>
374
			<forward name="default" path="/mail/alias/edit.jsp" />
375
		</action>
376
 
377
		<action
378
			path="/mail/alias/submit"
379
			type="ak.webcontrol.core.action.MailAliasAction"
380
			parameter="submit"
381
			name="ak.webcontrol.core.form.MailAliasEditForm"
382
			validate="true"
383
			scope="request"
384
			input="/mail/alias/edit.do"
385
		>
386
			<forward name="back"    path="/mail/alias/edit.jsp" />
387
		</action>
388
 
389
	</action-mappings>
390
 
391
	<controller processorClass="ak.strutsx.RequestProcessorX" />
392
 
393
	<message-resources parameter="ak.webcontrol.core.CoreResources" />
394
 
395
	<!-- ========== Plug-Ins Configuration ================================== -->
396
 
397
	<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
398
		<set-property property="pathnames"
399
			value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml" />
400
	</plug-in>
401
 
402
</struts-config>