上一页 1 ··· 156 157 158 159 160 161 162 163 164 ··· 229 下一页
摘要: 官方地址:http://undertow.io/documentation/servlet/servlet-extensions.html 留待学习中,mark一下源码地址:https://github.com/undertow-io/undertow/tree/c3b8a88db6999c231b... 阅读全文
posted @ 2014-11-21 11:43 一天不进步,就是退步 阅读(2973) 评论(0) 推荐(0) 编辑
摘要: 整个spring mvc的架构如下图所示: 现在来讲解DispatcherServletDispatcherServlet的最后一步:视图渲染。视图渲染的过程是在获取到ModelAndView后的过程。 视图渲染的过程: DispatcherServlet.java doService() >doD 阅读全文
posted @ 2014-11-21 00:05 一天不进步,就是退步 阅读(12761) 评论(4) 推荐(0) 编辑
摘要: 使用 @Repository、@Service、@Controller 和 @Component 将类标识为 BeanSpring 自 2.0 版本开始,陆续引入了一些注解用于简化 Spring 的开发。@Repository 注解便属于最先引入的一批,它用于将数据访问层 (DAO 层 ) 的类标识... 阅读全文
posted @ 2014-11-20 17:35 一天不进步,就是退步 阅读(270) 评论(0) 推荐(0) 编辑
摘要: Dealing with large data sets makes it necessary to pick out only the newest or the hottest elements and not displaying everything. In order to have ol... 阅读全文
posted @ 2014-11-20 10:16 一天不进步,就是退步 阅读(828) 评论(0) 推荐(0) 编辑
摘要: 上文中,我们知道分发过程有以下步骤:分发过程如下:1. 判断是否设置了multipart resolver,设置的话转换为multipart request,没有的话则继续下面的步骤。2. 根据当前request,获取hangdler。3. 根据当前request,获取HandlerAdapter。... 阅读全文
posted @ 2014-11-20 08:58 一天不进步,就是退步 阅读(5386) 评论(0) 推荐(0) 编辑
摘要: 首先我们看一下spring mvc Interceptor的功能及实现: http://wenku.baidu.com/link?url=Mw3GaUhCRMhUFjU8iIDhObQpDcbmmRy_IPeumazg0ppnbmwqFUtLp9kSpuPPpeysf6EnHBLYFeWrbjqMq 阅读全文
posted @ 2014-11-19 18:05 一天不进步,就是退步 阅读(18429) 评论(0) 推荐(1) 编辑
摘要: 第 1 部分: 文件资源操作和 Web 相关工具类http://www.ibm.com/developerworks/cn/java/j-lo-spring-utils1/文件资源操作文件资源的操作是应用程序中常见的功能,如当上传一个文件后将其保存在特定目录下,从指定地址加载一个配置文件等等。我们一... 阅读全文
posted @ 2014-11-18 18:53 一天不进步,就是退步 阅读(8881) 评论(0) 推荐(3) 编辑
摘要: DELIMITER//drop PROCEDURE if EXISTS test.express;create PROCEDURE test.express()BEGIN select count(1) into @a from test.test_user where userid='user'... 阅读全文
posted @ 2014-11-18 16:07 一天不进步,就是退步 阅读(21191) 评论(0) 推荐(0) 编辑
摘要: 原文:https://docs.jboss.org/author/display/AS7/Java+API+for+RESTful+Web+Services+(JAX-RS)ContentTutorial OverviewWhat are RESTful Web Services?Creating ... 阅读全文
posted @ 2014-11-18 09:47 一天不进步,就是退步 阅读(1719) 评论(0) 推荐(0) 编辑
摘要: RESTEasyis JBOSS provided implementation of JAX-RS specification for buildingRESTful Web Servicesand RESTful Java applications. Though this is not lim... 阅读全文
posted @ 2014-11-18 09:27 一天不进步,就是退步 阅读(878) 评论(0) 推荐(0) 编辑
上一页 1 ··· 156 157 158 159 160 161 162 163 164 ··· 229 下一页