「Struts2」s:actionタグの使い方
1.struts.xml
<action name="M0100″ method = “execute" class = “com.arkgame.pro.cft.M0100Action" >
<result name="outPut">/jsp/pro/cft/M0100.jsp</result>
<result name="success">/jsp/pro/cft/M0100.jsp</result>
</action>
2.方法1
<s:action name="M0100Action"/>
方法2
<s:property value="#M0100Action.userName"/>
方法3
<s:form action="M0100″ >
//some code
</s:form>