2015年11月7日

Struts(九)Struts2结果类型剖析

摘要: 1.在struts.xml页面里面extends 的struts-default(结果类型)(1)dispatcher---请求转发(系统默认)(2)chain---action之间链接(也就是转发,由一个action转到另一个action,且在同一个请求中)(3)redirect---重定向到一个... 阅读全文

posted @ 2015-11-07 03:28 张凌赫_帅 阅读(202) 评论(0) 推荐(0)

Struts(八)Strits2访问servlet API

摘要: 1.获得servlet API的两种方法(1).ServletActionContext类(基本都是静态方法)public static HttpServletRequet getRequest() //获得requestpublic static HttpservletResponse getR... 阅读全文

posted @ 2015-11-07 00:18 张凌赫_帅 阅读(156) 评论(0) 推荐(0)

导航