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"
230
       		path="/config/index.do"/>
231
        	
232
       	<forward
233
       		name="geoServer"
234
       		path="/config/geoServer.do"/>
235
       		
236
       	<forward
237
       		name="config.server"
238
       		path="/config/server.do"/>
239

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

    
316
        <!-- CONFIG data -->
317
       	<forward
318
       		name="config.data"
319
       		path="/config/data/index.do"/>
320

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

    
360
        <!-- CONFIG data type -->       		
361
       	<forward
362
       		name="config.data.type"
363
       		path="/config/data/typeSelect.do"/>
364
       	<forward
365
       		name="config.data.type.new"
366
       		path="/config/data/typeNew.do"/>
367
       	<forward
368
       		name="config.data.type.editor"
369
       		path="/config/data/typeEditor.do"/>
370

    
371
       		
372
       	<forward
373
       		name="config.data.calculateBoundingBox"
374
       		path="/config/data/calculateBoundingBox.do"/>
375
       	<forward
376
       		name="SLDWizard"
377
       		path="/WEB-INF/pages/SLDWizard.jsp"/>
378

    
379
       		
380
    </global-forwards>
381

    
382
<!-- =================================== Action Mapping Definitions -->
383

    
384
    <action-mappings>
385
        <!-- WELCOME -->
386
        <action
387
            path="/welcome"
388
            type="org.apache.struts.actions.ForwardAction"
389
            parameter="welcome"
390
            name="blankBean"/>
391
        <action
392
            path="/"
393
            type="org.apache.struts.actions.ForwardAction"
394
            parameter="welcome"
395
            name="blankBean"/>
396

    
397
        <action
398
            path="/contactInformation"
399
            type="org.apache.struts.actions.ForwardAction"
400
            parameter="welcome.contact"/>                             	       	
401

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

    
424
        <action
425
        	path ="/admin/main"
426
        	type="org.apache.struts.actions.ForwardAction"
427
        	parameter="admin.main"
428
        	name="blankBean"/>        	
429

    
430
        <action
431
        	path ="/admin/freeLocks"
432
        	type="org.apache.struts.actions.ForwardAction"
433
        	parameter="admin.freeLocks"
434
        	name="blankBean"/>
435

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

    
469
        <action
470
        	path="/config/loginEdit"
471
        	type="org.apache.struts.actions.ForwardAction"
472
        	parameter="config.server.login"/>
473

    
474

    
475
        <!-- CONFIG WFS -->        	
476
        <action
477
        	path="/config/wfs/index"
478
        	type="org.apache.struts.actions.ForwardAction"
479
        	parameter="config.wfs"/>    	
480
        <action
481
        	path="/config/wfs"
482
        	type="org.apache.struts.actions.ForwardAction"
483
        	parameter="config.wfs"/>
484

    
485
        <action
486
        	path="/config/wfs/description"
487
        	type="org.apache.struts.actions.ForwardAction"
488
        	parameter="config.wfs.description"/>
489

    
490
        <action
491
        	path="/config/wfs/content"
492
        	type="org.apache.struts.actions.ForwardAction"
493
        	parameter="config.wfs.content"/>
494
        	
495
        <!-- CONFIG WMS -->
496
        <action
497
        	path="/config/wms/index"
498
        	type="org.apache.struts.actions.ForwardAction"
499
        	parameter="config.wms"/>      	
500
        <action
501
        	path="/config/wms"
502
        	type="org.apache.struts.actions.ForwardAction"
503
        	parameter="config.wms"/>      
504

    
505
        <action
506
        	path="/config/wms/description"
507
        	type="org.apache.struts.actions.ForwardAction"
508
        	parameter="config.wms.description"/>
509

    
510
        <action
511
        	path="/config/wms/content"
512
        	type="org.apache.struts.actions.ForwardAction"
513
        	parameter="config.wms.content"/>
514
        	
515
       	<action 
516
       		path="/config/wms/rendering"
517
       		type="org.apache.struts.actions.ForwardAction"
518
        	parameter="config.wms.rendering"/>
519
       		
520
        <!-- CONFIG VALIDATION -->
521
        <action
522
        	path="/config/validation/index"
523
        	type="org.apache.struts.actions.ForwardAction"
524
        	parameter="config.validation.suite"/>
525
        <action
526
        	path="/config/validation"
527
        	type="org.apache.struts.actions.ForwardAction"
528
        	parameter="config.validation.suite"/>
529

    
530
        <action
531
        	path="/config/validation/suite"
532
        	type="org.apache.struts.actions.ForwardAction"
533
        	parameter="config.validation.suite"/>
534
        	        	
535
        <action
536
        	path="/config/validation/testSelect"
537
        	type="org.apache.struts.actions.ForwardAction"
538
        	parameter="config.validation.test"/>
539
        	
540
        <action
541
        	path="/config/validation/testEdit"
542
        	type="org.apache.struts.actions.ForwardAction"
543
        	parameter="config.validation.test.editor"/>
544

    
545
        <action
546
        	path="/config/validation/displayResults"
547
        	type="org.apache.struts.actions.ForwardAction"
548
        	parameter="config.validation.displayResults"/>
549
        	        	
550
        <!-- DATA -->
551
        <action
552
        	path="/config/data/index"
553
        	type="org.apache.struts.actions.ForwardAction"
554
        	parameter="config.data"/>    
555
        <action
556
        	path="/config/data"
557
        	type="org.apache.struts.actions.ForwardAction"
558
        	parameter="config.data"/>      
559
        	
560
       <!-- DATA STORES -->
561
        <action
562
        	path="/config/data/store"
563
        	type="org.apache.struts.actions.ForwardAction"
564
        	parameter="config.data.store"/>
565
        <action	
566
        	path="/config/data/storeNew"
567
        	type="org.apache.struts.actions.ForwardAction"
568
        	parameter="config.data.store.new"/>
569
        <action
570
        	path="/config/data/storeEditor"
571
        	type="org.apache.struts.actions.ForwardAction"
572
        	parameter="config.data.store.editor"/>        	
573
        	
574
       <!-- DATA Namespaces -->        	
575
        <action
576
        	path="/config/data/namespace"
577
        	type="org.apache.struts.actions.ForwardAction"
578
        	parameter="config.data.namespace"/>
579
        <action
580
        	path="/config/data/namespaceNew"
581
        	type="org.apache.struts.actions.ForwardAction"
582
        	parameter="config.data.namespace.new"/>
583
        <action
584
        	path="/config/data/namespaceEditor"
585
        	type="org.apache.struts.actions.ForwardAction"
586
        	parameter="config.data.namespace.editor"/>        	        	
587

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

    
636
		<action
637
			path="/demoSubmit"
638
			type="org.vfny.geoserver.action.DemoAction"
639
			name="demoForm"
640
			scope="request"
641
			validate="true"
642
			input="/demo.do"/>
643
			
644
		<action
645
			path="/demoRequestSubmit"
646
			type="org.vfny.geoserver.action.DemoRequestAction"
647
			name="demoRequestForm"
648
			scope="request"
649
			validate="true"
650
			input="/demoRequest.do"/>
651
			
652
			
653
		<!-- Admin Actions -->
654
        <action
655
        	path="/admin/index"
656
        	type="org.vfny.geoserver.action.AdminIndexAction"
657
        	name="blankBean"/>
658

    
659
        <action
660
        	path="/admin/freeLocks"
661
        	type="org.vfny.geoserver.action.FreeLocksAction"
662
        	name="blankBean"/>
663

    
664
        <action
665
        	path="/admin/freeMemory"
666
        	type="org.vfny.geoserver.action.FreeMemoryAction"
667
        	name="blankBean"/>
668
        	        	
669
        <!-- Config Actions -->
670
		<action    	
671
        	path="/config/geoServerSubmit"
672
        	type="org.vfny.geoserver.action.global.GeoServerConfigurationSubmit"
673
        	name="geoServerConfigurationForm"
674
        	scope="request"
675
        	validate="true"
676
        	input="/config/server.do"/>
677
        	
678
       	<!-- WFS Actions -->
679
        <action
680
        	path="/config/wfs/descriptionSubmit"
681
        	type="org.vfny.geoserver.action.wfs.WFSDescriptionAction"
682
        	name="wfsDescriptionForm"
683
        	scope="request"
684
        	validate="true"
685
        	input="/config/wfs/description.do"/>
686
        	
687
        <action
688
        	path="/config/wfs/contentSubmit"
689
        	type="org.vfny.geoserver.action.wfs.WFSContentAction"
690
        	name="wfsContentForm"
691
        	scope="request"
692
        	validate="true"
693
        	input="/config/wfs/content.do"/>
694

    
695
       	<!-- WMS Actions -->
696
        <action
697
        	path="/config/wms/descriptionSubmit"
698
        	type="org.vfny.geoserver.action.wms.WMSDescriptionAction"
699
        	name="wmsDescriptionForm"
700
        	scope="request"
701
        	validate="true"
702
        	input="/config/wms/description.do"/>
703
        <action
704
        	path="/config/wms/contentSubmit"
705
        	type="org.vfny.geoserver.action.wms.WMSContentAction"
706
        	name="wmsContentForm"
707
        	scope="request"
708
        	validate="true"
709
        	input="/config/wms/content.do"/>
710
		<action
711
        	path="/config/wms/renderingSubmit"
712
        	type="org.vfny.geoserver.action.wms.WMSRenderingAction"
713
        	name="wmsRenderingForm"
714
        	scope="request"
715
        	validate="true"
716
        	input="/config/wms/rendering.do"/>
717
       
718
       	<!-- DATA Stores Actions -->
719
        <action
720
        	path="/config/data/storeSubmit"
721
        	type="org.vfny.geoserver.action.data.DataDataStoresEditorAction"
722
        	name="dataDataStoresEditorForm"
723
        	scope="request"
724
        	validate="true"
725
        	input="/config/data/storeEditor.do"/>
726
        	
727
        <action
728
        	path="/config/data/storeSelectSubmit"
729
        	type="org.vfny.geoserver.action.data.DataDataStoresSelectAction"
730
        	name="dataDataStoresSelectForm"
731
        	scope="request"
732
        	validate="true"
733
        	input="/config/data/storeEditor.do"/>
734

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

    
825
         <action
826
        	path="/config/validation/testSuiteNew"
827
        	type="org.vfny.geoserver.action.validation.ValidationTestSuiteNewAction"
828
        	name="validationTestSuiteNewForm"
829
        	scope="request"
830
        	validate="true"
831
        	input="/config/validation/testSuiteSelect.do"/>
832

    
833
         <action
834
        	path="/config/validation/test"
835
        	type="org.vfny.geoserver.action.validation.ValidationTestSelectAction"
836
        	name="validationTestSelectForm"
837
        	scope="request"
838
        	validate="true"
839
        	input="/config/validation/test.do"/>
840
        	
841
         <action
842
			path="/config/validation/testNew"
843
        	type="org.vfny.geoserver.action.validation.ValidationTestNewAction"
844
        	name="validationTestNewForm"
845
        	scope="request"
846
        	validate="true"
847
        	input="/config/validation/testNew.do"/>
848
        	        	
849
         <action
850
        	path="/config/validation/testEditor"
851
        	type="org.vfny.geoserver.action.validation.ValidationTestEditorAction"
852
        	name="validationTestEditorForm"
853
        	scope="request"
854
        	validate="true"
855
        	input="/config/validation/testEditor.do"/>
856
        	
857
        <action
858
        	path ="/config/validation/suiteRun"
859
        	type="org.vfny.geoserver.action.validation.ValidationTestDoIt"
860
        	name="validationTestDoIt"
861
        	scope="request"
862
        	validate="true"
863
        	input="/config/validation/suite.do"/>
864

    
865
        <action	
866
        	path="/config/validation/suiteStop"
867
        	type="org.vfny.geoserver.action.validation.ValidationTestDoIt"
868
        	parameter="stop"
869
        	name="validationTestDoIt"
870
        	scope="request"
871
        	validate="true"
872
        	input="/config/validation/suite.do"/>
873
        	
874
        <action
875
        	path="/config/data/calculateBoundingBox"
876
        	type="org.vfny.geoserver.action.data.CalculateBoundingBoxAction"
877
        	name="blankBean"/>
878
        <action
879
        	path="/SLDWizard"
880
        	type="org.vfny.geoserver.action.data.SLDWizardAction"
881
        	name="sldWizardForm"
882
        	input="/WEB-INF/pages/SLDWizard.jsp"
883
			scope="request"
884
			validate="true">
885
        	
886
        	<forward name="SLDWizard" path="/WEB-INF/pages/SLDWizard.jsp"/>
887
        </action>
888
        	
889
        <action
890
        	path="/admin/saveToGeoServer"
891
        	type="org.vfny.geoserver.action.UpdateGSAction"
892
        	name="blankBean"/>
893
        <action
894
        	path="/admin/saveToXML"
895
        	type="org.vfny.geoserver.action.SaveXMLAction"
896
        	name="blankBean"/>
897
        <action
898
        	path="/admin/loadFromXML"
899
        	type="org.vfny.geoserver.action.LoadXMLAction"
900
        	name="blankBean"/>        	
901
        	
902
        	
903
        	<!-- srsHelp -->
904
        	
905
        <action
906
		            path="/srsHelp"
907
		            type="org.vfny.geoserver.action.SrsHelpAction"
908
		            name="srsInfoForm"
909
		            scope="request"
910
                 >
911
                 <forward name="success" path="/WEB-INF/pages/srsList.jsp"/>
912
          </action>
913
          
914
          
915
          <!-- mapPreview -->
916
          
917
          <action
918
		            path="/mapPreview"
919
		            type="org.vfny.geoserver.action.MapPreviewAction"
920
		            name="mapPreviewForm"
921
		            scope="request"
922
                 >
923
                 <forward name="success" path="/WEB-INF/pages/mapPreview.jsp"/>
924
          </action>
925
          
926

    
927

    
928

    
929
<!-- End Submit Actions -->
930

    
931
    </action-mappings>
932

    
933
<!-- ===================================== Controller Configuration -->
934

    
935
    <!--  controller
936
       processorClass="org.apache.struts.tiles.TilesRequestProcessor"/-->
937
	<controller>
938
       <set-property property="processorClass"
939
       		value="org.springframework.web.struts.DelegatingTilesRequestProcessor"/>
940
    </controller>
941

    
942
<!-- ================================ Message Resources Definitions -->
943

    
944
    <message-resources parameter="ApplicationResources"/>
945

    
946

    
947
<!-- ======================================= Plug Ins Configuration -->
948

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

    
983
  <!-- end comment if struts1.0.x -->
984

    
985
  <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
986
    <set-property
987
        property="pathnames"
988
        value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
989
  </plug-in>
990

    
991
  <!-- plug-in className="org.vfny.geoserver.global.ApplicationState">
992
  </plug-in>
993
  
994
  <plug-in className="org.vfny.geoserver.global.GeoServerPlugIn">
995
  </plug-in>  
996
  
997
  <plug-in className="org.vfny.geoserver.config.ConfigPlugIn">
998
  </plug-in-->  
999
  
1000
  <!--  plugin for struts integration -->
1001
  <plug-in className="org.springframework.web.struts.ContextLoaderPlugIn"/>
1002
 
1003
</struts-config>
1004

    
(9-9/18)