| 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.mobileapi.serving.controllers.handler.SxstreamContentHandler" />
|
22 |
name="myxml" class="in.shop2020.mobileapi.serving.controllers.handler.SxstreamContentHandler" />
|
| 23 |
|
23 |
|
| 24 |
<bean name="mymapper" type="org.apache.struts2.dispatcher.mapper.ActionMapper"
|
24 |
<!-- <bean name="mymapper" type="org.apache.struts2.dispatcher.mapper.ActionMapper"
|
| 25 |
class="in.shop2020.mobileapi.serving.mappers.SaholicMapper" />
|
25 |
class="in.shop2020.mobileapi.serving.mappers.SaholicMapper" /> -->
|
| 26 |
|
26 |
|
| 27 |
|
27 |
|
| 28 |
<!-- Overwrite Convention -->
|
28 |
<!-- Overwrite Convention -->
|
| 29 |
<constant name="struts.convention.action.suffix" value="Controller" />
|
29 |
<constant name="struts.convention.action.suffix" value="Controller" />
|
| 30 |
<constant name="struts.convention.action.mapAllMatches" value="true" />
|
30 |
<constant name="struts.convention.action.mapAllMatches" value="true" />
|
| Line 36... |
Line 36... |
| 36 |
value="velocity" />
|
36 |
value="velocity" />
|
| 37 |
|
37 |
|
| 38 |
<constant name="struts.action.extension" value=""/>
|
38 |
<constant name="struts.action.extension" value=""/>
|
| 39 |
<constant name="struts.action.excludePattern" value="/js/.*, /css/.*, /fonts/.*, /images/.*, /unversioned/.*, /helpdocs/.*, /sitemap.xml, /robots.txt"/>
|
39 |
<constant name="struts.action.excludePattern" value="/js/.*, /css/.*, /fonts/.*, /images/.*, /unversioned/.*, /helpdocs/.*, /sitemap.xml, /robots.txt"/>
|
| 40 |
|
40 |
|
| 41 |
<constant name="struts.mapper.class" value="mymapper" />
|
41 |
<!--<constant name="struts.mapper.class" value="mymapper" /> -->
|
| 42 |
|
42 |
|
| 43 |
<package name="default" extends="rest-default">
|
43 |
<package name="default" extends="rest-default">
|
| 44 |
<result-types>
|
44 |
<result-types>
|
| 45 |
<result-type name="redirect" class="in.shop2020.mobileapi.serving.dispatcher.SaholicServletRedirectResult">
|
45 |
<result-type name="redirect" class="in.shop2020.mobileapi.serving.dispatcher.SaholicServletRedirectResult">
|
| 46 |
</result-type>
|
46 |
</result-type>
|