上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 28 下一页
摘要: @RequestBody 作用: i) 该注解用于读取Request请求的body部分数据,使用系统默认配置的HttpMessageConverter进行解析,然后把相应的数据绑定到要返回的对象上; ii) 再把HttpMessageConverter返回的对象数据绑定到 controller中方法 阅读全文
posted @ 2017-03-17 08:56 update_ 阅读(237) 评论(0) 推荐(0) 编辑
摘要: --多条件查询。下面的示例等同于SQL语句的where name = "stephen" and age = 35 > db.test.find({"name":"stephen","age":35}) { "_id" : ObjectId("4fd58ecbb9ac507e96276f1a"), 阅读全文
posted @ 2017-03-16 15:43 update_ 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 目前在用 RoboMongo 阅读全文
posted @ 2017-03-16 15:41 update_ 阅读(109) 评论(0) 推荐(0) 编辑
摘要: @Controller @RequestMapping(value = "/global") public class GlobalController { @RequestMapping(value="/test", method... 阅读全文
posted @ 2017-03-16 15:36 update_ 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 负载均衡最开始一步,利用它实现负载均衡集群的定位 阅读全文
posted @ 2017-03-16 13:23 update_ 阅读(235) 评论(0) 推荐(0) 编辑
摘要: Eclipse Class Decompiler安装此插件,可以编译源代码且调试 阅读全文
posted @ 2017-03-15 08:59 update_ 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 利用反射(或者注解annotation),spring aop,数据库同步技术解决 mysql :自带同步机制 oracle: dataguard,或者stream sqlserver:日志同步或者复制订阅技术 阅读全文
posted @ 2017-03-15 08:55 update_ 阅读(174) 评论(0) 推荐(0) 编辑
摘要: init-param:mvc 配置文件context-param spring配置文件 阅读全文
posted @ 2017-03-15 08:52 update_ 阅读(379) 评论(0) 推荐(0) 编辑
摘要: spring 2.5 中除了提供 @Component 注释外,还定义了几个拥有特殊语义的注释,它们分别是:@Repository、@Service 和 @Controller。在目前的 Spring 版本中,这 3 个注释和 @Component 是等效的,但是从注释类的命名上,很容易看出这 3 阅读全文
posted @ 2017-03-09 09:52 update_ 阅读(8610) 评论(0) 推荐(0) 编辑
摘要: 1,request.getRealPath("/");这个方法已不推荐用 2,在Servlet 里用this.getServletContext().getRealPath("/");获得要路径。 或者 request.getSession().getServletContext().getReal 阅读全文
posted @ 2017-03-06 11:26 update_ 阅读(324) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 28 下一页