Subversion Repositories SmartDukaan

Rev

Rev 1941 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
490 rajveer 1
<?xml version="1.0" encoding="UTF-8" ?>
2
<!--
3
/*
4
 * $Id: struts-plugin.xml 722219 2008-12-01 20:41:26Z musachy $
5
 *
6
 * Licensed to the Apache Software Foundation (ASF) under one
7
 * or more contributor license agreements.  See the NOTICE file
8
 * distributed with this work for additional information
9
 * regarding copyright ownership.  The ASF licenses this file
10
 * to you under the Apache License, Version 2.0 (the
11
 * "License"); you may not use this file except in compliance
12
 * with the License.  You may obtain a copy of the License at
13
 *
14
 *  http://www.apache.org/licenses/LICENSE-2.0
15
 *
16
 * Unless required by applicable law or agreed to in writing,
17
 * software distributed under the License is distributed on an
18
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19
 * KIND, either express or implied.  See the License for the
20
 * specific language governing permissions and limitations
21
 * under the License.
22
 */
23
-->
24
 
25
<!DOCTYPE struts PUBLIC
26
        "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
27
        "http://struts.apache.org/dtds/struts-2.0.dtd">
28
 
29
<struts>
1941 ankur.sing 30
 
490 rajveer 31
	<bean type="org.apache.struts2.rest.handler.ContentTypeHandler" name="myxml" class="in.shop2020.support.controllers.handler.SxstreamContentHandler" />
32
 
33
    <!--  Overwrite Convention -->
34
    <constant name="struts.convention.action.suffix" value="Controller"/>
35
    <constant name="struts.convention.action.mapAllMatches" value="true"/>
1891 ankur.sing 36
    <constant name="struts.convention.default.parent.package" value="default"/>
490 rajveer 37
 
38
    <constant name="struts.convention.package.locators" value="controllers"/>
39
    <constant name="struts.convention.relative.result.types" value="velocity"/>
23125 amit.gupta 40
    <constant name="struts.multipart.maxSize" value="4866088" />
1891 ankur.sing 41
 
42
 
43
	<package name="default" extends="rest-default">
44
		<interceptors>
1941 ankur.sing 45
			<interceptor name="login" class="in.shop2020.support.interceptors.LoginInterceptor" />
1891 ankur.sing 46
		</interceptors>
47
		<global-results>
48
			<result name="exception" type="redirect">exception.vm</result>
49
		</global-results>
50
	</package>
490 rajveer 51
</struts>