struts管理部署文件
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>
<data-sources />
<form-beans>
<form-bean name=
"formBean1" type="hb.UserForm"/>
</form-beans>

<global-forwards>
<forward name=
"failed" path="/error.jsp"/>
<forward name=
"successed" path="/right.jsp"/>
</global-forwards>

<action-mappings>
<action path=
"/login" type="hb.LoginAction" name="formBean1" scope="request" validate="false" input="/error.jsp"/>
        <action path=
"/regist" forward="/addUser.jsp"/>
</action-mappings>

<message-resources parameter=
"hb.MyResource"/>

</struts-config>
lunzi   2006-05-23 23:55:47 评论:0   阅读:333   引用:0

发表评论>>

署名发表(评论可管理,不必输入下面的姓名)

姓名:

主题:

内容: 最少15个,最长1000个字符

验证码: (如不清楚,请刷新)

Copyright@2008 powered by YuLog