Project

General

Profile

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

    
9
<!-- ==================================== Data Source Configuration -->
10

    
11
<!-- ======================================== Form Bean Definitions -->
12

    
13
    <form-beans>
14
        <!--
15
          form-bean: maps ActionForm instances
16
          name: name of of form bean
17
          type: class of form bean
18
        -->
19
        
20
        <form-bean 
21
	    name="srsInfoForm" 
22
	    type="org.apache.struts.action.DynaActionForm">
23
	    <form-property 
24
	        name="srsDefinitionList"
25
	        type="java.lang.String[]" 
26
	    />
27
	    <form-property 
28
	        name="srsIDList" 
29
	        type="java.lang.String[]" 
30
	    />
31
		</form-bean>
32
		
33
	    <form-bean
34
    		name="sldWizardForm"
35
    		type="org.vfny.geoserver.form.data.SLDWizardForm"/>
36
    		
37
		
38
		<form-bean 
39
	    name="mapPreviewForm" 
40
	    type="org.apache.struts.action.DynaActionForm">
41
	    <form-property 
42
	        name="DSNameList"
43
	        type="java.lang.String[]" 
44
	    />
45
	    <form-property 
46
	        name="FTNameList" 
47
	        type="java.lang.String[]" 
48
	    />
49
	    <form-property 
50
	        name="FTNamespaceList" 
51
	        type="java.lang.String[]" 
52
	    />
53
	    <form-property 
54
	        name="BBoxList" 
55
	        type="java.lang.String[]" 
56
	    />
57
		</form-bean>
58
	    
59
	    
60
    	<form-bean
61
    		name="loginForm"
62
    		type="org.vfny.geoserver.form.LoginForm"/>
63
    		    		  		
64
    	<form-bean
65
    		name="demoForm"
66
    		type="org.vfny.geoserver.form.DemoForm"/>
67
    		
68
    	<form-bean
69
    		name="demoRequestForm"
70
    		type="org.vfny.geoserver.form.DemoRequestForm"/>
71

    
72
    	<form-bean
73
    		name="loginEditForm"
74
    		type="org.vfny.geoserver.form.LoginForm"/>
75
    
76
    	<form-bean
77
    		name="geoServerConfigurationForm"
78
    		type="org.vfny.geoserver.form.global.GeoServerConfigurationForm"/>
79
    
80
    	<form-bean
81
    		name="wfsDescriptionForm"
82
    		type="org.vfny.geoserver.form.wfs.WFSDescriptionForm"/>
83
    		
84
    	<form-bean
85
    		name="wfsContentForm"
86
    		type="org.vfny.geoserver.form.wfs.WFSContentForm"/>
87

    
88
    	<form-bean
89
    		name="wmsDescriptionForm"
90
    		type="org.vfny.geoserver.form.wms.WMSDescriptionForm"/>
91
    		
92
    	<form-bean
93
    		name="wmsContentForm"
94
    		type="org.vfny.geoserver.form.wms.WMSContentForm"/>
95
	
96
		<form-bean
97
			name="wmsRenderingForm"
98
			type="org.vfny.geoserver.form.wms.WMSRenderingForm"/>
99
			
100
		<form-bean
101
    		name="dataDataStoresSelectForm"
102
    		type="org.vfny.geoserver.form.data.DataDataStoresSelectForm"/>
103
    	<form-bean
104
    		name="dataDataStoresNewForm"
105
    		type="org.vfny.geoserver.form.data.DataDataStoresNewForm"/>
106
    	<form-bean
107
    		name="dataDataStoresEditorForm"
108
    		type="org.vfny.geoserver.form.data.DataDataStoresEditorForm"/>
109
    		
110
    	<!-- DATA Namespace -->
111
    	<form-bean
112
    		name="dataNamespacesSelectForm"
113
    		type="org.vfny.geoserver.form.data.DataNamespacesSelectForm"/>
114
    	<form-bean
115
    		name="dataNamespacesNewForm"
116
    		type="org.vfny.geoserver.form.data.DataNamespacesNewForm"/>
117
    	<form-bean
118
    		name="dataNamespacesEditorForm"
119
    		type="org.vfny.geoserver.form.data.DataNamespacesEditorForm"/>
120
    	
121
    		
122
		<!-- DATA Styles -->
123
    	<form-bean
124
    		name="dataStylesSelectForm"
125
    		type="org.vfny.geoserver.form.data.StylesSelectForm"/>
126
    	<form-bean
127
    		name="dataStylesNewForm"
128
    		type="org.vfny.geoserver.form.data.StylesNewForm"/>
129
    	<form-bean
130
    		name="dataStylesEditorForm"
131
    		type="org.vfny.geoserver.form.data.StylesEditorForm"/>
132
    		
133

    
134
		<!-- DATA FeatureType -->
135
    	<form-bean
136
    		name="dataFeatureTypesSelectForm"
137
    		type="org.vfny.geoserver.form.data.DataFeatureTypesSelectForm"/>
138
    	<form-bean
139
    		name="dataFeatureTypesNewForm"
140
    		type="org.vfny.geoserver.form.data.DataFeatureTypesNewForm"/>
141
    	<form-bean
142
    		name="typesEditorForm"
143
    		type="org.vfny.geoserver.form.data.TypesEditorForm"/>
144
   		<form-bean
145
    		name="typesEditorNewSLDForm"
146
    		type="org.vfny.geoserver.form.data.TypesEditorNewSLDForm"/>
147
    	<form-bean
148
    		name="validationTestSuiteSelectForm"
149
    		type="org.vfny.geoserver.form.validation.ValidationTestSuiteSelectForm"/>
150
    	<form-bean
151
    		name="validationTestSelectForm"
152
    		type="org.vfny.geoserver.form.validation.ValidationTestSelectForm"/>
153
    	<form-bean
154
    		name="validationTestNewForm"
155
    		type="org.vfny.geoserver.form.validation.ValidationTestNewForm"/>
156
    	<form-bean
157
    		name="validationTestEditorForm"
158
    		type="org.vfny.geoserver.form.validation.ValidationTestEditorForm"/>
159
    	<form-bean
160
    		name="validationTestSuiteNewForm"
161
	   		type="org.vfny.geoserver.form.validation.ValidationTestSuiteNewForm"/>
162
    		
163
		<form-bean
164
			name="blankBean"
165
			type="org.apache.struts.action.DynaActionForm"/>
166
    		
167
    </form-beans>
168

    
169
<!-- ================================= Global Exception Definitions -->
170

    
171
    <global-exceptions>
172
    </global-exceptions>
173

    
174
<!-- =================================== Global Forward Definitions -->
175

    
176
    <global-forwards>
177
        <!-- Default forward to "Welcome" action -->
178
        <!-- Demonstrates using index.jsp to forward -->
179
        <forward
180
            name="welcome"
181
            path="/welcome.do"/>    
182
            
183
                
184
        <forward 
185
        	name="contact"
186
        	path="/contactInformation.do"/>
187

    
188
        <forward 
189
        	name="welcome.demo"
190
        	path="/demo.do"/>
191
        	
192
        <forward 
193
        	name="welcome.demoRequest"
194
        	path="/demoRequest.do"/>
195
        
196
        	
197
        <!-- Appearance -->       		
198
       	<forward name="style" path="/style.css"/>
199
       	<forward name="icon" path="/images/gs.gif"/>
200
       	<forward name="favicon" path="/images/gs.ico"/>
201
       		
202
        <!-- ADMIN -->
203
        <forward 
204
        	name="admin"
205
        	path="/admin/index.do"/>
206

    
207
        <forward 
208
        	name="admin.main"
209
        	path="/admin/main.do"/>
210

    
211
        <forward 
212
        	name="admin.freeLocks"
213
        	path="/admin/freeLocks.do"/>
214
        	
215
        <forward 
216
        	name="admin.freeMemory"
217
        	path="/admin/freeMemory.do"/>
218
        	
219
        <forward 
220
        	name="login"
221
        	path="/admin/login.do"/>        
222
        	        	
223
        <forward 
224
       		name="logout"
225
        	path="/admin/logout.do"/>
226

    
227
        <!-- CONFIG -->     
228
        <forward
229
       		name="config.main"
230
       		path="/config/main.do"/>
231
        
232
       	<forward
233
       		name="config"
234
       		path="/config/index.do"/>
235
        	
236
       	<forward
237
       		name="geoServer"
238
       		path="/config/geoServer.do"/>
239
       		
240
       	<forward
241
       		name="config.server"
242
       		path="/config/server.do"/>
243

    
244
        <forward 
245
        	name="config.server.login"
246
        	path="/config/loginEdit.do"/>
247
        	
248
        <!-- CONFIG validation -->
249
        <forward
250
        	name="config.validation"
251
        	path="/config/validation/suite.do"/>
252
        <forward
253
        	name="config.validation.suite"
254
        	path="/config/validation/suite.do"/>
255
       	<forward
256
       		name="config.validation.suite.doit"
257
       		path="/config/validation/suiteRun.do"/>
258
        <forward
259
        	name="suite"
260
        	path="/config/validation/suite.do"/>
261
        <forward
262
        	name="validationTest"
263
        	path="/config/validation/testSelect.do"/>
264
        <forward
265
        	name="config.validation.test"
266
        	path="/config/validation/testSelect.do"/>
267
       	<forward
268
       		name="config.validation.test.doit"
269
       		path="/config/validation/suiteRun.do"/>
270
       	<forward
271
       		name="config.validation.test.doitStop"
272
       		path="/config/validation/suiteStop.do"/>       		
273
        <forward
274
        	name="validationTestEditor"
275
        	path="/config/validation/testEdit.do"/>
276
        <forward
277
        	name="config.validation.displayResults"
278
        	path="/config/validation/displayResults.do"/>
279
        	
280
        <!-- CONFIG wfs -->
281
        
282
       	<forward
283
       		name="config.wfs"
284
       		path="/config/wfs/index.do"/>
285
        <forward
286
       		name="config.wfs.description"
287
       		path="/config/wfs/description.do"/>
288
       	<forward
289
       		name="config.wfs.content"
290
       		path="/config/wfs/content.do"/>
291
       		
292
       	<forward
293
       		name="wfsConfigDescription"
294
       		path="/config/wfs/description.do"/>
295
       	<forward
296
       		name="wfsConfigContent"
297
       		path="/config/wfs/content.do"/>
298
       		
299
        <!-- CONFIG wms -->       		
300
       	<forward
301
       		name="config.wms"
302
       		path="/config/wms/index.do"/>
303
        <forward
304
       		name="config.wms.description"
305
       		path="/config/wms/description.do"/>
306
       	<forward
307
       		name="config.wms.content"
308
       		path="/config/wms/content.do"/>
309
     	<forward
310
     		name="config.wms.rendering"
311
     		path="/config/wms/rendering.do"/>
312
      	
313
       	<forward
314
       		name="wmsConfigDescription"
315
       		path="/config/wms/description.do"/>
316
       	<forward
317
       		name="wmsConfigContent"
318
       		path="/config/wms/content.do"/>
319

    
320
        <!-- CONFIG data -->
321
       	<forward
322
       		name="config.data"
323
       		path="/config/data/index.do"/>
324

    
325
        <!-- CONFIG data store -->
326
       	<forward
327
       		name="config.data.store"
328
       		path="/config/data/store.do"/>
329
       	<forward
330
       		name="config.data.store.new"
331
       		path="/config/data/storeNew.do"/>
332
       	<forward
333
       		name="config.data.store.editor"
334
       		path="/config/data/storeEditor.do"/>
335
       		
336
        <!-- CONFIG data namespace -->
337
       	<forward
338
       		name="config.data.namespace"
339
       		path="/config/data/namespace.do"/>
340
       	<forward
341
       		name="config.data.namespace.select"
342
       		path="/config/data/namespaceSelect.do"/>
343
       	<forward
344
       		name="config.data.namespace.editor"
345
       		path="/config/data/namespaceEditor.do"/>
346
       	<forward
347
       		name="config.data.namespace.new"
348
       		path="/config/data/namespaceNew.do"/>
349
       		
350
        <!-- CONFIG data style -->
351
       	<forward
352
       		name="config.data.style"
353
       		path="/config/data/style.do"/>
354
       	<forward
355
       		name="config.data.style.select"
356
       		path="/config/data/styleSelect.do"/>       		
357
       	<forward
358
       		name="config.data.style.new"
359
       		path="/config/data/styleNew.do"/>
360
       	<forward
361
       		name="config.data.style.editor"
362
       		path="/config/data/styleEditor.do"/>
363

    
364
        <!-- CONFIG data type -->       		
365
       	<forward
366
       		name="config.data.type"
367
       		path="/config/data/typeSelect.do"/>
368
       	<forward
369
       		name="config.data.type.new"
370
       		path="/config/data/typeNew.do"/>
371
       	<forward
372
       		name="config.data.type.editor"
373
       		path="/config/data/typeEditor.do"/>
374

    
375
       		
376
       	<forward
377
       		name="config.data.calculateBoundingBox"
378
       		path="/config/data/calculateBoundingBox.do"/>
379
       	<forward
380
       		name="SLDWizard"
381
       		path="/WEB-INF/pages/SLDWizard.jsp"/>
382

    
383
       		
384
    </global-forwards>
385

    
386
<!-- =================================== Action Mapping Definitions -->
387

    
388
    <action-mappings>
389
        <!-- WELCOME -->
390
        <action
391
            path="/welcome"
392
            type="org.apache.struts.actions.ForwardAction"
393
            parameter="welcome"
394
            name="blankBean"/>
395
        <action
396
            path="/"
397
            type="org.apache.struts.actions.ForwardAction"
398
            parameter="welcome"
399
            name="blankBean"/>
400

    
401
        <action
402
            path="/contactInformation"
403
            type="org.apache.struts.actions.ForwardAction"
404
            parameter="welcome.contact"/>                             	       	
405

    
406
		<action
407
			path ="/demo"
408
        	type="org.apache.struts.actions.ForwardAction"
409
        	parameter="welcome.demo"/>
410
        	
411
       	<action
412
			path ="/demoRequest"
413
        	type="org.apache.struts.actions.ForwardAction"
414
        	parameter="welcome.demoRequest"/>
415
        	
416
        <!-- ADMIN -->
417
        <action
418
        	path ="/admin/index"
419
        	type="org.apache.struts.actions.ForwardAction"
420
        	parameter="admin"
421
        	name="blankBean"/>        	
422
        <action
423
        	path ="/admin"
424
        	type="org.apache.struts.actions.ForwardAction"
425
        	parameter="admin"
426
        	name="blankBean"/>       
427

    
428
        <action
429
        	path ="/admin/main"
430
        	type="org.apache.struts.actions.ForwardAction"
431
        	parameter="admin.main"
432
        	name="blankBean"/>        	
433

    
434
        <action
435
        	path ="/admin/freeLocks"
436
        	type="org.apache.struts.actions.ForwardAction"
437
        	parameter="admin.freeLocks"
438
        	name="blankBean"/>
439

    
440
        <action
441
        	path ="/admin/freeMemory"
442
        	type="org.apache.struts.actions.ForwardAction"
443
        	parameter="admin.freeMemory"
444
        	name="blankBean"/>
445
        	        	
446
		<action
447
			path ="/admin/login"
448
        	type="org.apache.struts.actions.ForwardAction"
449
        	parameter="admin.login"/>
450
                	
451
		<action        	
452
			path ="/admin/logout"
453
        	type="org.vfny.geoserver.action.LogoutAction"
454
        	parameter=""/>
455
        	
456
        <!-- CONFIG -->
457
        <action
458
        	path ="/config"
459
        	type="org.apache.struts.actions.ForwardAction"
460
        	parameter="config"
461
        	name="blankBean"/>
462
        <action
463
        	path ="/config/main"
464
        	type="org.apache.struts.actions.ForwardAction"
465
        	parameter="config.main"
466
        	name="blankBean"/>
467
        <action
468
        	path="/config/index"
469
        	type="org.apache.struts.actions.ForwardAction"
470
        	parameter="config"
471
        	name="blankBean"/>
472
        <action
473
        	path="/config/server"
474
        	type="org.apache.struts.actions.ForwardAction"
475
        	parameter="config.server"
476
        	name="blankBean"/>
477

    
478
        <action
479
        	path="/config/loginEdit"
480
        	type="org.apache.struts.actions.ForwardAction"
481
        	parameter="config.server.login"/>
482

    
483

    
484
        <!-- CONFIG WFS -->        	
485
        <action
486
        	path="/config/wfs/index"
487
        	type="org.apache.struts.actions.ForwardAction"
488
        	parameter="config.wfs"/>    	
489
        <action
490
        	path="/config/wfs"
491
        	type="org.apache.struts.actions.ForwardAction"
492
        	parameter="config.wfs"/>
493

    
494
        <action
495
        	path="/config/wfs/description"
496
        	type="org.apache.struts.actions.ForwardAction"
497
        	parameter="config.wfs.description"/>
498

    
499
        <action
500
        	path="/config/wfs/content"
501
        	type="org.apache.struts.actions.ForwardAction"
502
        	parameter="config.wfs.content"/>
503
        	
504
        <!-- CONFIG WMS -->
505
        <action
506
        	path="/config/wms/index"
507
        	type="org.apache.struts.actions.ForwardAction"
508
        	parameter="config.wms"/>      	
509
        <action
510
        	path="/config/wms"
511
        	type="org.apache.struts.actions.ForwardAction"
512
        	parameter="config.wms"/>      
513

    
514
        <action
515
        	path="/config/wms/description"
516
        	type="org.apache.struts.actions.ForwardAction"
517
        	parameter="config.wms.description"/>
518

    
519
        <action
520
        	path="/config/wms/content"
521
        	type="org.apache.struts.actions.ForwardAction"
522
        	parameter="config.wms.content"/>
523
        	
524
       	<action 
525
       		path="/config/wms/rendering"
526
       		type="org.apache.struts.actions.ForwardAction"
527
        	parameter="config.wms.rendering"/>
528
       		
529
        <!-- CONFIG VALIDATION -->
530
        <action
531
        	path="/config/validation/index"
532
        	type="org.apache.struts.actions.ForwardAction"
533
        	parameter="config.validation.suite"/>
534
        <action
535
        	path="/config/validation"
536
        	type="org.apache.struts.actions.ForwardAction"
537
        	parameter="config.validation.suite"/>
538

    
539
        <action
540
        	path="/config/validation/suite"
541
        	type="org.apache.struts.actions.ForwardAction"
542
        	parameter="config.validation.suite"/>
543
        	        	
544
        <action
545
        	path="/config/validation/testSelect"
546
        	type="org.apache.struts.actions.ForwardAction"
547
        	parameter="config.validation.test"/>
548
        	
549
        <action
550
        	path="/config/validation/testEdit"
551
        	type="org.apache.struts.actions.ForwardAction"
552
        	parameter="config.validation.test.editor"/>
553

    
554
        <action
555
        	path="/config/validation/displayResults"
556
        	type="org.apache.struts.actions.ForwardAction"
557
        	parameter="config.validation.displayResults"/>
558
        	        	
559
        <!-- DATA -->
560
        <action
561
        	path="/config/data/index"
562
        	type="org.apache.struts.actions.ForwardAction"
563
        	parameter="config.data"/>    
564
        <action
565
        	path="/config/data"
566
        	type="org.apache.struts.actions.ForwardAction"
567
        	parameter="config.data"/>      
568
        	
569
       <!-- DATA STORES -->
570
        <action
571
        	path="/config/data/store"
572
        	type="org.apache.struts.actions.ForwardAction"
573
        	parameter="config.data.store"/>
574
        <action	
575
        	path="/config/data/storeNew"
576
        	type="org.apache.struts.actions.ForwardAction"
577
        	parameter="config.data.store.new"/>
578
        <action
579
        	path="/config/data/storeEditor"
580
        	type="org.apache.struts.actions.ForwardAction"
581
        	parameter="config.data.store.editor"/>        	
582
        	
583
       <!-- DATA Namespaces -->        	
584
        <action
585
        	path="/config/data/namespace"
586
        	type="org.apache.struts.actions.ForwardAction"
587
        	parameter="config.data.namespace"/>
588
        <action
589
        	path="/config/data/namespaceNew"
590
        	type="org.apache.struts.actions.ForwardAction"
591
        	parameter="config.data.namespace.new"/>
592
        <action
593
        	path="/config/data/namespaceEditor"
594
        	type="org.apache.struts.actions.ForwardAction"
595
        	parameter="config.data.namespace.editor"/>        	        	
596

    
597
		<!-- DATA styles -->        	
598
        <action
599
        	path="/config/data/style"
600
        	type="org.apache.struts.actions.ForwardAction"
601
        	parameter="config.data.style"/>
602
        <action
603
        	path="/config/data/styleNew"
604
        	type="org.apache.struts.actions.ForwardAction"
605
        	parameter="config.data.style.new"/>
606
        <action
607
        	path="/config/data/styleEditor"
608
        	type="org.apache.struts.actions.ForwardAction"
609
        	parameter="config.data.style.editor"/>
610
        	
611
		<!-- DATA featuretypes -->
612
        <action
613
        	path="/config/data/typeSelect"
614
        	type="org.apache.struts.actions.ForwardAction"
615
        	parameter="config.data.type"/>
616
        <action
617
        	path="/config/data/typeNew"
618
        	type="org.apache.struts.actions.ForwardAction"
619
        	parameter="config.data.type.new"/>
620
        <action
621
        	path="/config/data/typeEditor"
622
        	type="org.apache.struts.actions.ForwardAction"
623
        	parameter="config.data.type.editor"/>
624
        	
625
		<!-- Submit Actions -->    
626
		<!-- Welcome Actions -->
627
		<!--type="org.springframework.web.struts.DelegatingActionProxy"-->
628
		
629
		<action
630
			path="/admin/loginSubmit"
631
			type="org.vfny.geoserver.action.LoginAction" 
632
			name="loginForm"
633
			scope="request"
634
			validate="true"
635
			input="/admin/login.do"/>
636
			
637
		<action
638
			path="/config/loginEditSubmit"
639
			type="org.vfny.geoserver.action.LoginEditAction"
640
			name="loginEditForm"
641
			scope="request"
642
			validate="true"
643
			input="/config/loginEdit.do"/>
644

    
645
		<action
646
			path="/demoSubmit"
647
			type="org.vfny.geoserver.action.DemoAction"
648
			name="demoForm"
649
			scope="request"
650
			validate="true"
651
			input="/demo.do"/>
652
			
653
		<action
654
			path="/demoRequestSubmit"
655
			type="org.vfny.geoserver.action.DemoRequestAction"
656
			name="demoRequestForm"
657
			scope="request"
658
			validate="true"
659
			input="/demoRequest.do"/>
660
			
661
			
662
		<!-- Admin Actions -->
663
        <action
664
        	path="/admin/index"
665
        	type="org.vfny.geoserver.action.AdminIndexAction"
666
        	name="blankBean"/>
667

    
668
        <action
669
        	path="/admin/freeLocks"
670
        	type="org.vfny.geoserver.action.FreeLocksAction"
671
        	name="blankBean"/>
672

    
673
        <action
674
        	path="/admin/freeMemory"
675
        	type="org.vfny.geoserver.action.FreeMemoryAction"
676
        	name="blankBean"/>
677
        	        	
678
        <!-- Config Actions -->
679
        <action
680
        	path="/config/index"
681
        	type="org.vfny.geoserver.action.ConfigIndexAction"
682
        	name="blankBean"/>
683
        
684
		<action    	
685
        	path="/config/geoServerSubmit"
686
        	type="org.vfny.geoserver.action.global.GeoServerConfigurationSubmit"
687
        	name="geoServerConfigurationForm"
688
        	scope="request"
689
        	validate="true"
690
        	input="/config/server.do"/>
691
        	
692
       	<!-- WFS Actions -->
693
        <action
694
        	path="/config/wfs/descriptionSubmit"
695
        	type="org.vfny.geoserver.action.wfs.WFSDescriptionAction"
696
        	name="wfsDescriptionForm"
697
        	scope="request"
698
        	validate="true"
699
        	input="/config/wfs/description.do"/>
700
        	
701
        <action
702
        	path="/config/wfs/contentSubmit"
703
        	type="org.vfny.geoserver.action.wfs.WFSContentAction"
704
        	name="wfsContentForm"
705
        	scope="request"
706
        	validate="true"
707
        	input="/config/wfs/content.do"/>
708

    
709
       	<!-- WMS Actions -->
710
        <action
711
        	path="/config/wms/descriptionSubmit"
712
        	type="org.vfny.geoserver.action.wms.WMSDescriptionAction"
713
        	name="wmsDescriptionForm"
714
        	scope="request"
715
        	validate="true"
716
        	input="/config/wms/description.do"/>
717
        <action
718
        	path="/config/wms/contentSubmit"
719
        	type="org.vfny.geoserver.action.wms.WMSContentAction"
720
        	name="wmsContentForm"
721
        	scope="request"
722
        	validate="true"
723
        	input="/config/wms/content.do"/>
724
		<action
725
        	path="/config/wms/renderingSubmit"
726
        	type="org.vfny.geoserver.action.wms.WMSRenderingAction"
727
        	name="wmsRenderingForm"
728
        	scope="request"
729
        	validate="true"
730
        	input="/config/wms/rendering.do"/>
731
       
732
       	<!-- DATA Stores Actions -->
733
        <action
734
        	path="/config/data/storeSubmit"
735
        	type="org.vfny.geoserver.action.data.DataDataStoresEditorAction"
736
        	name="dataDataStoresEditorForm"
737
        	scope="request"
738
        	validate="true"
739
        	input="/config/data/storeEditor.do"/>
740
        	
741
        <action
742
        	path="/config/data/storeSelectSubmit"
743
        	type="org.vfny.geoserver.action.data.DataDataStoresSelectAction"
744
        	name="dataDataStoresSelectForm"
745
        	scope="request"
746
        	validate="true"
747
        	input="/config/data/storeEditor.do"/>
748

    
749
        <action
750
        	path="/config/data/storeNewSubmit"
751
        	type="org.vfny.geoserver.action.data.DataDataStoresNewAction"
752
        	name="dataDataStoresNewForm"
753
        	scope="request"
754
        	validate="true"
755
        	input="/config/data/storeNew.do"/>        	
756
      
757
		<!-- DATA Namespaces Actions -->
758
        <action
759
        	path="/config/data/namespaceSelect"
760
        	type="org.vfny.geoserver.action.data.DataNamespacesSelectAction"
761
        	name="dataNamespacesSelectForm"
762
        	scope="request"
763
        	validate="true"
764
        	input="/config/data/namespaceSelect.do"/>
765
        <action
766
        	path="/config/data/namespaceNewSubmit"
767
        	type="org.vfny.geoserver.action.data.DataNamespacesNewAction"
768
        	name="dataNamespacesNewForm"
769
        	scope="request"
770
        	validate="true"
771
        	input="/config/data/namespaceNew.do"/>
772
        <action
773
        	path="/config/data/namespaceSubmit"
774
        	type="org.vfny.geoserver.action.data.DataNamespacesEditorAction"
775
        	name="dataNamespacesEditorForm"
776
        	scope="request"
777
        	validate="true"
778
        	input="/config/data/namespaceEditor.do"/>
779
        	
780
		<!-- DATA Styles Actions -->        	
781
        <action
782
        	path="/config/data/styleSelectSubmit"
783
        	type="org.vfny.geoserver.action.data.StylesSelectAction"
784
        	name="dataStylesSelectForm"
785
        	scope="request"
786
        	validate="true"
787
        	input="/config/data/styleSelect.do"/>
788
        <action
789
        	path="/config/data/styleNewSubmit"
790
        	type="org.vfny.geoserver.action.data.StylesNewAction"
791
        	name="dataStylesNewForm"
792
        	scope="request"
793
        	validate="true"
794
        	input="/config/data/styleNew.do"/>
795
        <action
796
        	path="/config/data/styleEditorSubmit"
797
        	type="org.vfny.geoserver.action.data.StylesEditorAction"
798
        	name="dataStylesEditorForm"
799
        	scope="request"
800
        	validate="true"
801
        	input="/config/data/styleEditor.do">
802
        	   <forward name="schemaErrors" path="/WEB-INF/pages/schemaErrors.jsp"/>
803
         </action>
804
        	        	        	
805
		<!-- DATA FeatureType Actions -->
806
        <action
807
        	path="/config/data/typeSelectSubmit"
808
        	type="org.vfny.geoserver.action.data.DataFeatureTypesSelectAction"
809
        	name="dataFeatureTypesSelectForm"
810
        	scope="request"
811
        	validate="true"
812
        	input="/config/data/typeSelect.do"/>
813
         <action
814
        	path="/config/data/typeNewSubmit"
815
        	type="org.vfny.geoserver.action.data.DataFeatureTypesNewAction"
816
        	name="dataFeatureTypesNewForm"
817
        	scope="request"
818
        	validate="true"
819
        	input="/config/data/typeNew.do"/>        	
820
        <action
821
        	path="/config/data/typeEditorSubmit"
822
        	type="org.vfny.geoserver.action.data.TypesEditorAction"
823
        	name="typesEditorForm"
824
        	scope="request"
825
        	validate="true"
826
        	input="/config/data/typeEditor.do"/>
827
        	
828
        	
829
		 <!-- DATA Validation -->
830
 
831
         <action
832
        	path="/config/validation/testSuiteSelect"
833
        	type="org.vfny.geoserver.action.validation.ValidationTestSuiteSelectAction"
834
        	name="validationTestSuiteSelectForm"
835
        	scope="request"
836
        	validate="true"
837
        	input="/config/validation/testSuiteSelect.do"/>
838

    
839
         <action
840
        	path="/config/validation/testSuiteNew"
841
        	type="org.vfny.geoserver.action.validation.ValidationTestSuiteNewAction"
842
        	name="validationTestSuiteNewForm"
843
        	scope="request"
844
        	validate="true"
845
        	input="/config/validation/testSuiteSelect.do"/>
846

    
847
         <action
848
        	path="/config/validation/test"
849
        	type="org.vfny.geoserver.action.validation.ValidationTestSelectAction"
850
        	name="validationTestSelectForm"
851
        	scope="request"
852
        	validate="true"
853
        	input="/config/validation/test.do"/>
854
        	
855
         <action
856
			path="/config/validation/testNew"
857
        	type="org.vfny.geoserver.action.validation.ValidationTestNewAction"
858
        	name="validationTestNewForm"
859
        	scope="request"
860
        	validate="true"
861
        	input="/config/validation/testNew.do"/>
862
        	        	
863
         <action
864
        	path="/config/validation/testEditor"
865
        	type="org.vfny.geoserver.action.validation.ValidationTestEditorAction"
866
        	name="validationTestEditorForm"
867
        	scope="request"
868
        	validate="true"
869
        	input="/config/validation/testEditor.do"/>
870
        	
871
        <action
872
        	path ="/config/validation/suiteRun"
873
        	type="org.vfny.geoserver.action.validation.ValidationTestDoIt"
874
        	name="validationTestDoIt"
875
        	scope="request"
876
        	validate="true"
877
        	input="/config/validation/suite.do"/>
878

    
879
        <action	
880
        	path="/config/validation/suiteStop"
881
        	type="org.vfny.geoserver.action.validation.ValidationTestDoIt"
882
        	parameter="stop"
883
        	name="validationTestDoIt"
884
        	scope="request"
885
        	validate="true"
886
        	input="/config/validation/suite.do"/>
887
        	
888
        <action
889
        	path="/config/data/calculateBoundingBox"
890
        	type="org.vfny.geoserver.action.data.CalculateBoundingBoxAction"
891
        	name="blankBean"/>
892
        <action
893
        	path="/SLDWizard"
894
        	type="org.vfny.geoserver.action.data.SLDWizardAction"
895
        	name="sldWizardForm"
896
        	input="/WEB-INF/pages/SLDWizard.jsp"
897
			scope="request"
898
			validate="true">
899
        	
900
        	<forward name="SLDWizard" path="/WEB-INF/pages/SLDWizard.jsp"/>
901
        </action>
902
        	
903
        <action
904
        	path="/admin/saveToGeoServer"
905
        	type="org.vfny.geoserver.action.UpdateGSAction"
906
        	name="blankBean"/>
907
        <action
908
        	path="/admin/saveToXML"
909
        	type="org.vfny.geoserver.action.SaveXMLAction"
910
        	name="blankBean"/>
911
        <action
912
        	path="/admin/loadFromXML"
913
        	type="org.vfny.geoserver.action.LoadXMLAction"
914
        	name="blankBean"/>        	
915
        	
916
        	
917
        	<!-- srsHelp -->
918
        	
919
        <action
920
		            path="/srsHelp"
921
		            type="org.vfny.geoserver.action.SrsHelpAction"
922
		            name="srsInfoForm"
923
		            scope="request"
924
                 >
925
                 <forward name="success" path="/WEB-INF/pages/srsList.jsp"/>
926
          </action>
927
          
928
          
929
          <!-- mapPreview -->
930
          
931
          <action
932
		            path="/mapPreview"
933
		            type="org.vfny.geoserver.action.MapPreviewAction"
934
		            name="mapPreviewForm"
935
		            scope="request"
936
                 >
937
                 <forward name="success" path="/WEB-INF/pages/mapPreview.jsp"/>
938
          </action>
939
          
940

    
941

    
942

    
943
<!-- End Submit Actions -->
944

    
945
    </action-mappings>
946

    
947
<!-- ===================================== Controller Configuration -->
948

    
949
    <!--  controller
950
       processorClass="org.apache.struts.tiles.TilesRequestProcessor"/-->
951
	<controller>
952
       <set-property property="processorClass"
953
       		value="org.springframework.web.struts.DelegatingTilesRequestProcessor"/>
954
    </controller>
955

    
956
<!-- ================================ Message Resources Definitions -->
957

    
958
    <message-resources parameter="ApplicationResources"/>
959

    
960

    
961
<!-- ======================================= Plug Ins Configuration -->
962

    
963
  <!-- ========== Tiles plugin ===================  -->
964
  <!--												-->
965
  <!--
966
     This plugin initialize Tiles definition factory. This later can takes some
967
	 parameters explained here after. The plugin first read parameters from web.xml, then
968
	 overload them with parameters defined here. All parameters are optional.
969
	 The plugin should be declared in each struts-config file.
970
       - definitions-config: (optional) 
971
            Specify configuration file names. There can be several comma 
972
		    separated file names (default: ?? )
973
       - moduleAware: (optional - struts1.1) 
974
            Specify if the Tiles definition factory is module aware. If true (default), 
975
			there will be one factory for each Struts module. 
976
			If false, there will be one common factory for all module. In this later case, 
977
			it is still needed to declare one plugin per module. The factory will be 
978
			initialized with parameters found in the first initialized plugin (generally the
979
			one associated with the default module).
980
			  true : One factory per module. (default)
981
			  false : one single shared factory for all modules
982
	   - definitions-parser-validate: (optional)
983
	        Specify if xml parser should validate the Tiles configuration file.
984
			  true : validate. DTD should be specified in file header. (default)
985
			  false : no validation
986
			  
987
	  Paths found in Tiles definitions are relative to the main context.
988
  -->
989
  <!-- comment following if struts1.0.x -->
990
  <plug-in className="org.apache.struts.tiles.TilesPlugin" >
991
    <set-property property="definitions-config" 
992
	                 value="/WEB-INF/tiles-defs.xml" />
993
    <set-property property="moduleAware" value="true" />
994
    <set-property property="definitions-parser-validate" value="true" />
995
  </plug-in>
996

    
997
  <!-- end comment if struts1.0.x -->
998

    
999
  <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
1000
    <set-property
1001
        property="pathnames"
1002
        value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
1003
  </plug-in>
1004

    
1005
  <!-- plug-in className="org.vfny.geoserver.global.ApplicationState">
1006
  </plug-in>
1007
  
1008
  <plug-in className="org.vfny.geoserver.global.GeoServerPlugIn">
1009
  </plug-in>  
1010
  
1011
  <plug-in className="org.vfny.geoserver.config.ConfigPlugIn">
1012
  </plug-in-->  
1013
  
1014
  <!--  plugin for struts integration -->
1015
  <plug-in className="org.springframework.web.struts.ContextLoaderPlugIn"/>
1016
 
1017
</struts-config>
1018

    
(9-9/18)