mar*_*ieg 7 java struts scope struts-1 struts-config
我正在开发一个Struts应用程序.
为了编辑struts-config.xml文件,我想我必须scope在action标签中添加一个属性.我不确定它的含义或用法.
<action path="/WetsVpnSwapTraffic"
type="com.kpn.bop.web.action.vpn.wets.WetsVpnSwapTraffic"
scope="request"
name="WetsVpnSwapTrafficForm"
roles="bop_wetsvpn_migrate"
validate="false">
<forward name="success" path="/WetsVpnSwapTrafficValidate.do"/>
<forward name="failure" path="/WetsVpnList.do"/>
</action>
Run Code Online (Sandbox Code Playgroud)
任何人都可以解释我是否必须提出这个属性?