| Line 19... |
Line 19... |
| 19 |
<struts>
|
19 |
<struts>
|
| 20 |
|
20 |
|
| 21 |
<bean type="org.apache.struts2.rest.handler.ContentTypeHandler"
|
21 |
<bean type="org.apache.struts2.rest.handler.ContentTypeHandler"
|
| 22 |
name="myxml" class="in.shop2020.serving.controllers.handler.SxstreamContentHandler" />
|
22 |
name="myxml" class="in.shop2020.serving.controllers.handler.SxstreamContentHandler" />
|
| 23 |
|
23 |
|
| - |
|
24 |
<bean name="mymapper" type="org.apache.struts2.dispatcher.mapper.ActionMapper"
|
| - |
|
25 |
class="in.shop2020.serving.mappers.SaholicMapper" />
|
| - |
|
26 |
|
| - |
|
27 |
|
| 24 |
<!-- Overwrite Convention -->
|
28 |
<!-- Overwrite Convention -->
|
| 25 |
<constant name="struts.convention.action.suffix" value="Controller" />
|
29 |
<constant name="struts.convention.action.suffix" value="Controller" />
|
| 26 |
<constant name="struts.convention.action.mapAllMatches" value="true" />
|
30 |
<constant name="struts.convention.action.mapAllMatches" value="true" />
|
| 27 |
<constant name="struts.convention.default.parent.package"
|
31 |
<constant name="struts.convention.default.parent.package"
|
| 28 |
value="default" />
|
32 |
value="default" />
|
| Line 32... |
Line 36... |
| 32 |
value="velocity" />
|
36 |
value="velocity" />
|
| 33 |
|
37 |
|
| 34 |
<constant name="struts.action.extension" value=""/>
|
38 |
<constant name="struts.action.extension" value=""/>
|
| 35 |
<constant name="struts.action.excludePattern" value="/js/.*, /css/.*, /images/.*, /helpdocs/.*, /sitemap.xml, /robots.txt"/>
|
39 |
<constant name="struts.action.excludePattern" value="/js/.*, /css/.*, /images/.*, /helpdocs/.*, /sitemap.xml, /robots.txt"/>
|
| 36 |
|
40 |
|
| - |
|
41 |
<constant name="struts.mapper.class" value="mymapper" />
|
| - |
|
42 |
|
| 37 |
<package name="default" extends="rest-default">
|
43 |
<package name="default" extends="rest-default">
|
| 38 |
<result-types>
|
44 |
<result-types>
|
| 39 |
<result-type name="redirect" class="org.apache.struts2.dispatcher.ServletRedirectResult">
|
45 |
<result-type name="redirect" class="org.apache.struts2.dispatcher.ServletRedirectResult">
|
| 40 |
</result-type>
|
46 |
</result-type>
|
| 41 |
<result-type name="redirectAction" class="org.apache.struts2.dispatcher.ServletActionRedirectResult">
|
47 |
<result-type name="redirectAction" class="org.apache.struts2.dispatcher.ServletActionRedirectResult">
|