首页 > 技术文章 > Structs 在Struts.xml中配置action时,action的name属性最好首字母大写

hewenwu 2014-10-06 10:49 原文

<action name="Login" class="com.struts_learn.action.LoginAction">
<result name="input">/login.jsp</result>
<result name="error">/error.jsp</result>
<result name="success">/success.jsp</result>
</action>

 

首字母小写容易出问题

推荐阅读