struts-config.xml配置重定向
来源:互联网 发布:卸载sql server 2017 编辑:程序博客网 时间:2024/05/16 15:29
假设添加文章的action为addArticle.do,添加完文章之后,跳转到articleList.do,如果"redirect"没有设为"true"(默认"false"),则刷新页面后又添加文章了。
<action-mappings>
<action path="/articleList" type="org.springframework.web.struts.DelegatingActionProxy" scope="request">
<forward name="succeed" path="/codeTypeList.jsp" />
</action>
<action path="/articleList" type="org.springframework.web.struts.DelegatingActionProxy" scope="request">
<forward name="succeed" path="/codeTypeList.jsp" />
</action>
<action path="/addArticle" type="org.springframework.web.struts.DelegatingActionProxy" scope="request">
<forward name="succeed" path="/articleLi" redirect="true"/>
</action>
</action-mappings>
<forward name="succeed" path="/articleLi" redirect="true"/>
</action>
</action-mappings>
- struts-config.xml配置重定向
- struts-config.xml 配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- struts-config.xml配置
- Struts struts-config.xml 配置
- Struts struts-config.xml配置
- 关于struts-config.xml配置
- 关于struts-config.xml配置
- c++
- SQL Server密码破解工具
- 爱情预言-《爱情呼叫转移》
- 打破沙锅--工厂模式
- google map整理
- struts-config.xml配置重定向
- 特殊字符(HTML语言对照表)
- [转]Delphi 的消息机制浅探
- 从数据库导出数据到word、excel、.txt
- [转]delphi中关于资源释放(Free/release/freeAndNil)的一点体会
- K_ReverterMap2.0(是K_Reverter在Google Maps API2.0)
- Google Maps API 2 文档
- c#.net常用函数列表
- 为了开博的纪念!