- 博客(3)
- 问答 (1)
- 收藏
- 关注
转载 Mybatis 传入多个参数
参考自 http://www.cnblogs.com/mingyue1818/p/3714162.html 1.单个参数 public List getXXBeanList(String xxCode); select t.* from tableName t where t.id= #{id} 其中方法名和ID一致,#{}中的参数名与方法中的参数名一直, 我这里采用的是X
2016-08-25 01:15:21
307
转载 spring mvc ajax json数据类型交互 小例子
ajax $.ajax({ url : 'index.htm', type : 'post', dataType : 'json', contentType : 'application/json;sharset=utf-8', data : JSON.stringify({"title":"这是标题","content":"这是内容"), success :
2016-06-27 00:47:53
419
原创 Spring MVC ajax json 415错误改正
1.确保spring配置文件中有 2.json的jar包 Jackson-all Jackson-annotations Jackson-core Jackson-databing json_simple(前面4个是必须的,这个不确定) 3. $.ajax({ url : '......', type : 'post',
2016-06-27 00:30:35
275
空空如也
eclipse在windows系统下输出问题
2016-04-15
TA创建的收藏夹 TA关注的收藏夹
TA关注的人