Struts2 <s:property value=""/>标签 使用注意事项
使用<s:property value="attrName"/>
1.要确保Action类为JavaBean
2.不能使用重定向,如在struts.xml中配置<result type="dispatcher" name="success">/success.jsp</result>
发布时间: 2012-10-08 19:54:56 作者: rapoo
Struts2 <s:property value=""/>标签 使用注意事项
使用<s:property value="attrName"/>
1.要确保Action类为JavaBean
2.不能使用重定向,如在struts.xml中配置<result type="dispatcher" name="success">/success.jsp</result>