<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
	"-//Apache Software Foundation//DTD Struts Configuration 2.1.7//EN"
	"http://struts.apache.org/dtds/struts-2.1.7.dtd">
<struts>
	<package name="user" namespace="/user" extends="json-default">
		<action name="*" class="userAction" method="{1}">
			<result type="json"/>
		</action>
		<!-- 退出登录 -->
		<action name="logout" class="userAction" method="logout">
			<result name="success">/logout.jsp</result>	
		</action>
		<!--<action name="login" class="userAction" method="login">
			<result name="login" type="chain">
	    		<param name="namespace">/</param>
	    		<param name="actionName">login</param>
			</result>
			<result type="json"/>
		</action>
		-->
	</package>
</struts>