会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
夏末、初秋
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
13
14
15
16
17
18
19
20
21
22
下一页
2015年12月11日
OGNL和Struts2标签
摘要: OGNL和Struts2标签你使用过的OGNL 页面获取并输出Action属性 页面中获取request保存的数据OGNL是什么 Object Graph Navigation Language ,对象图导航语言 是Struts2默认的表达式语言,开源,功能更强大 存取对象的属性、调用对象...
阅读全文
posted @ 2015-12-11 00:01 夏末、初秋
阅读(171)
评论(0)
推荐(0)
2015年12月10日
Struts2中使用Servlet API步骤
摘要: Struts2中使用Servlet API步骤 Action类中声明request等对象 Map request; 获得ActionContext实例 ActionContext ac=ActionContext.getContext(); 获取request等对象 requ...
阅读全文
posted @ 2015-12-10 23:53 夏末、初秋
阅读(122)
评论(0)
推荐(0)
Struts2配置详解
摘要: Struts2配置详解1、result的name属性 Action中的预定义的字符串常量可以和result的name对应 SUCCESS、INPUT、ERROR…… name可以是定义的任意字符串,和Action返回的结果一致即可 result配置一般使用绝对路径,绝对路径以斜杠(/)开头2...
阅读全文
posted @ 2015-12-10 23:37 夏末、初秋
阅读(341)
评论(0)
推荐(0)
Strust的基础情况
摘要: Struts的优点:1、实现MVC模式,结构清晰2、丰富的标签(tag)3、通过配置文件页面导航,便于后期维护4、与Servlet API松耦合,便于测试Structs2=Structs1的知名度和市场+WebWork的技术 二、Struts2 获取1、http://struts.apache.or...
阅读全文
posted @ 2015-12-10 23:13 夏末、初秋
阅读(334)
评论(0)
推荐(0)
2015年12月8日
数据库的模糊查询mybatis
摘要:
阅读全文
posted @ 2015-12-08 23:54 夏末、初秋
阅读(251)
评论(0)
推荐(0)
2015年12月7日
分页套用
摘要: 先定义一个公共类用来存放4大属性+返回的泛型结果public class PageSupport{ //页面大小 private int pageSize=1; //总记录数 private int totalCount; /...
阅读全文
posted @ 2015-12-07 23:18 夏末、初秋
阅读(148)
评论(0)
推荐(0)
删除(注意,删除后,后面顶上去,所以id会一直变,所以我们用class来定义,因为id是唯一的)
摘要: 删除de$(".delete").on("click",function(){ var id = $(this).attr("value"); var configTypeName = $(this).next().next("input"...
阅读全文
posted @ 2015-12-07 22:34 夏末、初秋
阅读(272)
评论(0)
推荐(0)
2015年11月27日
搭建SpringMVC+Mybatis框架并实现数据库的操作
摘要: User类public class User { private Integer id; private String userName; private String password; private String tel; private String email...
阅读全文
posted @ 2015-11-27 14:06 夏末、初秋
阅读(383)
评论(0)
推荐(0)
使用映射接口实现数据库的操作
摘要: mybatis-config.xml applicationContext-mybatis.xml ...
阅读全文
posted @ 2015-11-27 13:58 夏末、初秋
阅读(1073)
评论(0)
推荐(0)
使用SqlSessionTemplate实现数据库的操作
摘要: EmployeeMapper.xml insert into employee (sn,name,gender) values (#{sn},#{name},#{gender}) update employee ...
阅读全文
posted @ 2015-11-27 13:51 夏末、初秋
阅读(14206)
评论(0)
推荐(0)
上一页
1
···
13
14
15
16
17
18
19
20
21
22
下一页
公告