1 |
9430
|
katerina.i
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2 |
|
|
<!DOCTYPE struts PUBLIC
|
3 |
|
|
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
|
4 |
|
|
"http://struts.apache.org/dtds/struts-2.0.dtd">
|
5 |
|
|
|
6 |
|
|
<struts>
|
7 |
|
|
|
8 |
|
|
<bean class="com.opensymphony.xwork2.ObjectFactory" name="xwork" />
|
9 |
|
|
<bean type="com.opensymphony.xwork2.ObjectFactory" name="struts" class="org.apache.struts2.impl.StrutsObjectFactory" />
|
10 |
|
|
|
11 |
|
|
<bean type="com.opensymphony.xwork2.ActionProxyFactory" name="xwork" class="com.opensymphony.xwork2.DefaultActionProxyFactory"/>
|
12 |
|
|
<bean type="com.opensymphony.xwork2.ActionProxyFactory" name="struts" class="org.apache.struts2.impl.StrutsActionProxyFactory"/>
|
13 |
|
|
|
14 |
|
|
<bean type="com.opensymphony.xwork2.util.ObjectTypeDeterminer" name="tiger" class="com.opensymphony.xwork2.util.GenericsObjectTypeDeterminer"/>
|
15 |
|
|
<bean type="com.opensymphony.xwork2.util.ObjectTypeDeterminer" name="notiger" class="com.opensymphony.xwork2.util.DefaultObjectTypeDeterminer"/>
|
16 |
|
|
<bean type="com.opensymphony.xwork2.util.ObjectTypeDeterminer" name="struts" class="com.opensymphony.xwork2.util.DefaultObjectTypeDeterminer"/>
|
17 |
|
|
|
18 |
|
|
<bean type="org.apache.struts2.dispatcher.mapper.ActionMapper" name="struts" class="org.apache.struts2.dispatcher.mapper.DefaultActionMapper" />
|
19 |
|
|
<bean type="org.apache.struts2.dispatcher.mapper.ActionMapper" name="composite" class="org.apache.struts2.dispatcher.mapper.CompositeActionMapper" />
|
20 |
|
|
<bean type="org.apache.struts2.dispatcher.mapper.ActionMapper" name="restful" class="org.apache.struts2.dispatcher.mapper.RestfulActionMapper" />
|
21 |
|
|
<bean type="org.apache.struts2.dispatcher.mapper.ActionMapper" name="restful2" class="org.apache.struts2.dispatcher.mapper.Restful2ActionMapper" />
|
22 |
|
|
|
23 |
|
|
<bean type="org.apache.struts2.dispatcher.multipart.MultiPartRequest" name="struts" class="org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest" scope="default" optional="true"/>
|
24 |
|
|
<bean type="org.apache.struts2.dispatcher.multipart.MultiPartRequest" name="jakarta" class="org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest" scope="default" optional="true" />
|
25 |
|
|
|
26 |
|
|
<bean type="org.apache.struts2.views.TagLibrary" name="s" class="org.apache.struts2.views.DefaultTagLibrary" />
|
27 |
|
|
|
28 |
|
|
<bean class="org.apache.struts2.views.freemarker.FreemarkerManager" name="struts" optional="true"/>
|
29 |
|
|
<bean class="org.apache.struts2.views.velocity.VelocityManager" name="struts" optional="true" />
|
30 |
|
|
|
31 |
|
|
<bean class="org.apache.struts2.components.template.TemplateEngineManager" />
|
32 |
|
|
<bean type="org.apache.struts2.components.template.TemplateEngine" name="ftl" class="org.apache.struts2.components.template.FreemarkerTemplateEngine" />
|
33 |
|
|
<bean type="org.apache.struts2.components.template.TemplateEngine" name="vm" class="org.apache.struts2.components.template.VelocityTemplateEngine" />
|
34 |
|
|
<bean type="org.apache.struts2.components.template.TemplateEngine" name="jsp" class="org.apache.struts2.components.template.JspTemplateEngine" />
|
35 |
|
|
|
36 |
|
|
<bean type="com.opensymphony.xwork2.util.XWorkConverter" name="xwork1" class="com.opensymphony.xwork2.util.XWorkConverter" />
|
37 |
|
|
<bean type="com.opensymphony.xwork2.util.XWorkConverter" name="struts" class="com.opensymphony.xwork2.util.AnnotationXWorkConverter" />
|
38 |
|
|
|
39 |
|
|
<!-- Only have static injections -->
|
40 |
|
|
<bean class="com.opensymphony.xwork2.util.OgnlValueStack" static="true" />
|
41 |
|
|
<bean class="org.apache.struts2.dispatcher.Dispatcher" static="true" />
|
42 |
|
|
<bean class="org.apache.struts2.components.Include" static="true" />
|
43 |
|
|
<bean class="org.apache.struts2.dispatcher.FilterDispatcher" static="true" />
|
44 |
|
|
<bean class="org.apache.struts2.views.util.ContextUtil" static="true" />
|
45 |
|
|
<bean class="org.apache.struts2.views.util.UrlHelper" static="true" />
|
46 |
|
|
<bean class="com.opensymphony.xwork2.util.XWorkConverter" static="true" />
|
47 |
|
|
<bean class="com.opensymphony.xwork2.ObjectFactory" static="true" />
|
48 |
|
|
|
49 |
|
|
<package name="struts-default">
|
50 |
|
|
<result-types>
|
51 |
|
|
<result-type name="chain" class="com.opensymphony.xwork2.ActionChainResult"/>
|
52 |
|
|
<result-type name="dispatcher" class="org.apache.struts2.dispatcher.ServletDispatcherResult" default="true"/>
|
53 |
|
|
<result-type name="freemarker" class="org.apache.struts2.views.freemarker.FreemarkerResult"/>
|
54 |
|
|
<result-type name="httpheader" class="org.apache.struts2.dispatcher.HttpHeaderResult"/>
|
55 |
|
|
<result-type name="redirect" class="org.apache.struts2.dispatcher.ServletRedirectResult"/>
|
56 |
|
|
<result-type name="redirect-action" class="org.apache.struts2.dispatcher.ServletActionRedirectResult"/>
|
57 |
|
|
<result-type name="stream" class="org.apache.struts2.dispatcher.StreamResult"/>
|
58 |
|
|
<result-type name="velocity" class="org.apache.struts2.dispatcher.VelocityResult"/>
|
59 |
|
|
<result-type name="xslt" class="org.apache.struts2.views.xslt.XSLTResult"/>
|
60 |
|
|
<result-type name="plaintext" class="org.apache.struts2.dispatcher.PlainTextResult" />
|
61 |
|
|
</result-types>
|
62 |
|
|
|
63 |
|
|
<interceptors>
|
64 |
|
|
<interceptor name="alias" class="com.opensymphony.xwork2.interceptor.AliasInterceptor"/>
|
65 |
|
|
<interceptor name="chain" class="com.opensymphony.xwork2.interceptor.ChainingInterceptor"/>
|
66 |
|
|
<interceptor name="conversionError" class="org.apache.struts2.interceptor.StrutsConversionErrorInterceptor"/>
|
67 |
|
|
<interceptor name="debugging" class="org.apache.struts2.interceptor.debugging.DebuggingInterceptor" />
|
68 |
|
|
<interceptor name="exception" class="com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor"/>
|
69 |
|
|
<interceptor name="fileUpload" class="org.apache.struts2.interceptor.FileUploadInterceptor"/>
|
70 |
|
|
<interceptor name="i18n" class="com.opensymphony.xwork2.interceptor.I18nInterceptor"/>
|
71 |
|
|
<interceptor name="locale" class="gr.uoa.di.driver.web.interceptors.LocaleInterceptor" />
|
72 |
|
|
<interceptor name="model-driven" class="com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor"/>
|
73 |
|
|
<interceptor name="scoped-model-driven" class="com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor"/>
|
74 |
|
|
<interceptor name="params" class="com.opensymphony.xwork2.interceptor.ParametersInterceptor"/>
|
75 |
|
|
<interceptor name="prepare" class="com.opensymphony.xwork2.interceptor.PrepareInterceptor"/>
|
76 |
|
|
<interceptor name="static-params" class="com.opensymphony.xwork2.interceptor.StaticParametersInterceptor"/>
|
77 |
|
|
<interceptor name="servlet-config" class="org.apache.struts2.interceptor.ServletConfigInterceptor"/>
|
78 |
|
|
<interceptor name="validation" class="org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor"/>
|
79 |
|
|
<interceptor name="workflow" class="com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor"/>
|
80 |
|
|
<interceptor name="checkbox" class="org.apache.struts2.interceptor.CheckboxInterceptor" />
|
81 |
|
|
<interceptor name="profiling" class="org.apache.struts2.interceptor.ProfilingActivationInterceptor" />
|
82 |
|
|
|
83 |
|
|
<interceptor-stack name="defaultStack">
|
84 |
|
|
<interceptor-ref name="exception"/>
|
85 |
|
|
<interceptor-ref name="alias"/>
|
86 |
|
|
<interceptor-ref name="servlet-config"/>
|
87 |
|
|
<interceptor-ref name="prepare"/>
|
88 |
|
|
<interceptor-ref name="chain"/>
|
89 |
|
|
<interceptor-ref name="debugging"/>
|
90 |
|
|
<interceptor-ref name="profiling"/>
|
91 |
|
|
<interceptor-ref name="scoped-model-driven"/>
|
92 |
|
|
<interceptor-ref name="model-driven"/>
|
93 |
|
|
<interceptor-ref name="fileUpload"/>
|
94 |
|
|
<interceptor-ref name="checkbox"/>
|
95 |
|
|
<interceptor-ref name="static-params"/>
|
96 |
|
|
<interceptor-ref name="params">
|
97 |
|
|
<param name="excludeParams">dojo\..*</param>
|
98 |
|
|
</interceptor-ref>
|
99 |
|
|
<interceptor-ref name="conversionError"/>
|
100 |
|
|
<interceptor-ref name="validation">
|
101 |
|
|
<param name="excludeMethods">input,back,cancel,browse</param>
|
102 |
|
|
</interceptor-ref>
|
103 |
|
|
<interceptor-ref name="workflow">
|
104 |
|
|
<param name="excludeMethods">input,back,cancel,browse</param>
|
105 |
|
|
</interceptor-ref>
|
106 |
|
|
</interceptor-stack>
|
107 |
|
|
|
108 |
|
|
</interceptors>
|
109 |
|
|
|
110 |
|
|
</package>
|
111 |
|
|
</struts>
|