上一页 1 2 3 4 5 6 7 8 9 ··· 40 下一页
摘要: In Spring MVC application, the `SimpleUrlHandlerMapping` is the most flexible handler mapping class, which allow developer to specify the mapping of U... 阅读全文
posted @ 2015-08-24 17:14 wuhn 阅读(162) 评论(0) 推荐(0) 编辑
摘要: handler mapping是把url跟控制器关联起来。In Spring MVC, `ControllerClassNameHandlerMapping` use convention to map requested URL to Controller (convention over con... 阅读全文
posted @ 2015-08-24 17:11 wuhn 阅读(469) 评论(0) 推荐(0) 编辑
摘要: In Spring MVC, `BeanNameUrlHandlerMapping` is the default handler mapping mechanism, which maps URL requests to the name of the beans. For example,```... 阅读全文
posted @ 2015-08-24 16:32 wuhn 阅读(189) 评论(0) 推荐(0) 编辑
摘要: In this tutorial, we will take the previous Gradle + Spring MVC XML example, rewrite it to support `@JavaConfig` annotation configuration, no more XML... 阅读全文
posted @ 2015-08-24 16:23 wuhn 阅读(733) 评论(0) 推荐(0) 编辑
摘要: In this tutorial, we will show you a Gradle + Spring 4 MVC, Hello World Example (JSP view), XML configuration.Technologies used :- Gradle 2.0- Spring ... 阅读全文
posted @ 2015-08-24 16:17 wuhn 阅读(504) 评论(0) 推荐(0) 编辑
摘要: In `JdbcTemplate`, SQL parameters are represented by a special placeholder “`?`” symbol and bind it by position. The problem is whenever the order of ... 阅读全文
posted @ 2015-08-23 14:56 wuhn 阅读(209) 评论(0) 推荐(0) 编辑
摘要: In this tutorial, we show you how to use `batchUpdate()` in `SimpleJdbcTemplate` class.See `batchUpdate()` example in `SimpleJdbcTemplate` class.```//... 阅读全文
posted @ 2015-08-23 14:53 wuhn 阅读(326) 评论(0) 推荐(0) 编辑
摘要: Here are few examples to show how to use `SimpleJdbcTemplate query()` methods to query or extract data from database. In `JdbcTemplate` `query()`, you... 阅读全文
posted @ 2015-08-23 14:50 wuhn 阅读(186) 评论(0) 推荐(0) 编辑
摘要: In some cases, you may required to insert a batch of records into database in one shot. If you call a single insert method for every record, the SQL s... 阅读全文
posted @ 2015-08-23 14:45 wuhn 阅读(607) 评论(0) 推荐(0) 编辑
摘要: Here are few examples to show you how to use `JdbcTemplate` `query()` methods to query or extract data from database.##1. Querying for Single RowHere’... 阅读全文
posted @ 2015-08-23 14:42 wuhn 阅读(295) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 40 下一页