struts中跳转时json中的execudeProperties的问题
我想请问下那个userDAO是和哪关联,还是那个就没用<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts SYSTEM "http://struts.apache.org/dtds/struts-2.0.dtd" PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN">
-<struts>
-<package extends="json-default" name="struts2">
-<interceptors>
<interceptor name="loginInterceptor" class="com.ibeifeng.interceptor.LoginInterceptor"/>
-<interceptor-stack name="myStack">
<interceptor-ref name="loginInterceptor"/>
<interceptor-ref name="defaultStack"/>
</interceptor-stack>
</interceptors>
-<action name="login" class="loginAction">
-<result type="json">
<param name="excludeProperties">userDAO</param>
</result>
</action>
-<action name="commodityAdd" class="commodityAddAction">
-<result type="json">
<param name="excludeProperties">commodityDAO</param>
</result>
<interceptor-ref name="myStack"/>
</action>
-<action name="commodityQuery" class="commodityQueryAction">
-<result type="json">
<param name="excludeProperties">commodityDAO</param>
</result>
<interceptor-ref name="myStack"/>
</action>
</package>
</struts>
补充:Java , Web 开发