struts-config.xml

来源:互联网 发布:淘宝店铺转让出售流程 编辑:程序博客网 时间:2024/05/10 23:41
<?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>
<form-beans>
<form-bean name="accountForm"
type="org.yyj.struts.formbeans.AccountForm" />
</form-beans>
<action-mappings>
<action path="/shop/index"
type="org.yyj.struts.action.IndexAction"
parameter="method" input="back view page">
<forward name="toMain" path="/catalog/Main.jsp" />
</action>
</action-mappings>
<message-resources parameter="resource base's name" />
</struts-config>
0 0
原创粉丝点击