<form-beans>
<form-bean name="loginForm" type="org.apache.struts.validator.LazyValidatorForm">
<form-property name="login" type="com.xiaohu.domain.User_Info"/>
</form-bean>
</form-beans>
<action-mappings >
<action
attribute="loginForm"
input="/view/index.jsp"
name="loginForm"
path="/login"
scope="request"
parameter="method"
validate="false"(此参数不可缺)
type="org.springframework.web.struts.DelegatingActionProxy">
<forward name="success" path="/message/success.jsp" />
<forward name="failure" path="/message/failure.jsp" />
</action>
</action-mappings>
posted on 2007-03-26 11:20
小虎(年轻) 阅读(395)
评论(0) 编辑 收藏 所属分类:
STRUTS