05_Result
来源:互联网 发布:python怎么开发网站 编辑:程序博客网 时间:2024/06/04 23:21
5.1 自定义Result
5.1.1 实现自定义Result
实现Result接口即可
5.1.2 配置自己的Result
在sturts.xml中声明result-types就可以使用了
5.1.3 运行测试Result
5.2 常用的Result
常用的Result有:Dispatcher,Redirect,Chain,XSL,HttpHeader,Stream,PlainText,Redirect Action,Velocity,FreeMarker,JasperReports等
5.2.1 Dispatcher
相当于dispatcher.forward(request,response);
5.2.2 Redirect
相当于response.sendRedirect();
5.2.3 Chain
相当于以上两者的结合,可以转向其他的Action同事保持http内
5.3 其他的Result
5.4 小结
- 05_Result
- struts2(_result type=json)
- struts2x学习笔记6_result配置的各种视图转发类型
- CCDataVisitor(数据访问器 子类:CCPrettyPrinter _indentLevel-用于数组; string _indentStr; _result-指针字符串)
- 05
- 05
- 05
- 05
- 05
- 05/07/05
- 05/09/05
- 05/10/05
- 10-05-05
- 2008/05/05
- CHAPTER 05:EX 05
- 2010-05-05
- 10 05 05 繁杂
- 2015-05-05
- Design Principles
- ORACLE GROUPING函数的使用
- Direct3D基础:D3DPRESENT_PARAMETERS
- Oracle Sequence 相关知识(收集)
- mysql 更改字段类型
- 05_Result
- ubuntn 12.10 图形 root 方法
- 微信的商业模式与创业机会 -转 舒迅
- 更新oracle表的统计信息 GATHER_TABLE_STATS
- window的onunload和onbeforeunload事件,用于浏览器的关闭
- 查看锁冲突
- centos的twitter storm安装和storm-start的本地运行
- 编写parallel for循环VS2010 ppl
- effective c++ 05,06,07