您的位置:首页 > 编程语言 > Java开发

struts-config.xml

2011-11-17 15:30 281 查看
 
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"
"http://struts.apache.org/dtds/struts-config_1_3.dtd">
<struts-config>
<!-- 测试 -->
<action-mappings>
<action path="/ibusAction" scope="request" validate="false"
type="com.smart.ibus.client.web.IBUSAction" parameter="method">
<forward name="ibusSuccess" path="/ibusSuccess.jsp"></forward>
<forward name="ibusFailure" path="/ibusFailure.jsp"></forward>
</action>

<action path="/BOControllerAction" scope="request" validate="false"
type="com.smart.ibus.client.web.BOControllerAction" parameter="method">
<forward name="success" path="/layout_attribute.jsp"></forward>
<forward name="failure" path="/ibusFailure.jsp"></forward>
</action>

<!-- 文件资源管理控制类 -->
<action path="/FileMgrAction" scope="request" validate="false"
type="com.smart.ibus.client.web.FileMgrAction" parameter="method">
<forward name="success" path="/layout_attribute.jsp"></forward>
<forward name="failure" path="/ibusFailure.jsp"></forward>
</action>

<!-- 文件上传 -->
<action path="/upload" scope="request" validate="false" type="com.smart.ibus.ap.components.impl.FileManagerAction" parameter="method">
<forward name="download" path="/components/upload/download.jsp" />
<forward name="success"  path="/components/upload/success.jsp" />
</action>

<action path="/InvokerAction"  type="com.smart.ibus.ap.components.invokerclient.InvokerTestAction" />
<action path="/TaskAction"  type="com.smart.ibus.ap.components.taskclient.TaskTestAction" />

</action-mappings>
<message-resources parameter="" />
</struts-config>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息