大时代

大时代--java

BlogJava 联系 聚合 管理
  0 Posts :: 6 Stories :: 0 Comments :: 0 Trackbacks
struts-config.xml配置

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
          "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
          "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd">
<struts-config>
 <form-beans>
  <form-bean name="loginActionForm" type="com.bjsxt.test.forms.LoginActionForm"/>
 </form-beans>

 <action-mappings>
  <action path="/login"
    type="org.springframework.web.struts.DelegatingActionProxy"
    name="loginActionForm"
    scope="request"
   >
   <forward name="success" path="/success.jsp"/>
   <forward name="fail" path="/fail.jsp"/>
  </action>
 </action-mappings>

    <message-resources parameter="MessageResources" />
</struts-config>

posted on 2012-04-18 20:08 NextAge 阅读(165) 评论(0)  编辑  收藏 所属分类: ssh部分基本设置