日期:2014-05-17 浏览次数:20603 次
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://struts.apache.org/dtds/struts-config_1_2.dtd"> <struts-config> <data-sources /> <form-beans > <form-bean name="loginForm" type="mystruts.form.LoginForm" /> </form-beans> <global-exceptions /> <global-forwards /> <action-mappings > <action attribute= "loginForm" input= "/login.jsp" name= "loginForm" path= "/login" scope= "request" type= "mystruts.action.LoginAction" > <forward name="suc" path="/login_success.jsp" ></forward> <forward name="fal" path="/login_failure.jsp" ></forward> </action> </action-mappings> <message-resources parameter="mystruts.ApplicationResources" /> </struts-config>