`
cntsai
  • 浏览: 7228 次
  • 性别: Icon_minigender_1
社区版块
存档分类
最新评论
文章列表
controller @Controller public class LoginController { @RequestMapping(value = "/login", method = RequestMethod.GET) public ModelAndView getContent() { ModelAndView view = new ModelAndView("loginView"); return view; } } spring-servlet.xml <bean id="ti ...
2013/3/15 REST IN SPRING 3: RESTTEMPLATE Spring RestTemplate 配置 SSL https (使用 Spring @MVC) 2013/3/22 REST services with Spring 3 (XML, JSON) Supporting XML and JSON web service endpoints in Spring 3.1 using @ResponseBody Spring3 MVC Restful 多请求类型(json,xml,k-v),多视图配置(Json,Xml,JSP,Freemarker,Volacity ...
參考資料: spring动态数据源的切换 Spring动态切换数据源 利用AbstractRoutingDataSource实现动态数据源切换 (一、Spring+Hibernate) DYNAMIC DATASOURCE ROUTING package tamino.tsai.config; import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource; public class DynamicDataSource extends AbstractRoutingDataSource { ...
Global site tag (gtag.js) - Google Analytics