
spring
文章平均质量分 84
勇哥聊IT
分享编程心得,共赏技术风景
展开
-
maven 创建Spring项目
参考:http://limingnihao.iteye.com/blog/830409原创 2012-07-06 10:35:06 · 1322 阅读 · 0 评论 -
Spring MVC
spring mvc注解例子http://www.blogjava.net/pengo/archive/2010/11/28/339229.html原创 2012-07-13 09:58:29 · 792 阅读 · 0 评论 -
Spring使用Velocity模版
pom.xml<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/mav原创 2012-07-13 11:18:41 · 2219 阅读 · 0 评论 -
Spring 中使用Log4j
pom.xml配置<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd原创 2012-07-13 14:36:52 · 693 阅读 · 0 评论 -
Spring Web MVC
参考官方文档:URI Template Patterns@RequestMapping(value="/spring/*/{id}/index.do") public ModelAndView index(@PathVariable int id){ System.out.println("id"+id); Map param=new HashM原创 2012-07-16 11:28:14 · 519 阅读 · 0 评论 -
Spring 中文乱码
获取的参数使用str= new String(str.getBytes("ISO-8859-1"), "utf-8");http://panyongzheng.iteye.com/blog/1413289 <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun原创 2012-07-10 22:15:08 · 453 阅读 · 0 评论 -
Spring 同时使用多个视图
参考:http://www.iteye.com/problems/55772Pom.xml 4.0.0 com.wodwl jiajia 0.0.1 war org.apache.maven.plugins maven-compiler-plugin 2.3.1 1.6 1.6转载 2012-07-26 14:40:16 · 453 阅读 · 0 评论 -
Spring 文件上传
http://www.cnblogs.com/frankliiu-java/articles/1780511.htmlhttp://blog.youkuaiyun.com/zwhfyy/article/details/3784842加入jar包 commons-fileupload commons-fileupload 1.2.2 net.sf.stac原创 2012-08-01 14:43:28 · 1368 阅读 · 0 评论 -
Spring整合Hibernate
http://blog.youkuaiyun.com/kkdelta/article/details/5587659转载 2013-01-04 16:58:55 · 517 阅读 · 0 评论 -
Spring MVC 注解
spring-servlet.xml配置 <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xml原创 2012-07-13 10:39:25 · 656 阅读 · 0 评论 -
Spring MVC-实例1
pom.xml<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/mav原创 2012-07-13 10:18:36 · 558 阅读 · 0 评论 -
Spring指南
Spring 注解http://hanyexiaoxiao.iteye.com/blog/410123原创 2012-07-06 16:34:54 · 360 阅读 · 0 评论 -
Spring FreeMarker
Spring框架集成FreeMarkerhttp://blog.sina.com.cn/s/blog_5ca9fdd80100fxx5.html原创 2012-07-09 11:31:32 · 536 阅读 · 0 评论 -
Spring Velocity
Spring velocityhttp://xumingrencai.iteye.com/blog/1521549Spring MVC 与 Velocity 整合http://hi.baidu.com/zhangxuan1224/blog/item/6c7b795900ecb6222934f07f.htmlSpring中使用Velocity模板htt原创 2012-07-09 10:55:29 · 1056 阅读 · 0 评论 -
Spring 数据库配置
官方文档提供了两种最佳实践1.xml中配置bean的依赖<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframewor原创 2012-07-09 14:43:19 · 1078 阅读 · 0 评论 -
Spring环境搭建
1.下载spring-3.2.0.M1-dist.zip包http://www.springsource.org/download/2.下载依赖包commons-logging.jarhttp://commons.apache.org/logging/download_logging.cgi3.Spring web 配置http://www.2cto.com/kf/2011原创 2012-07-09 16:27:02 · 648 阅读 · 0 评论 -
Spring Web环境搭建
Spring温故知新:WEB篇(二)Hello,World!http://www.2cto.com/kf/201108/102113.html原创 2012-07-10 20:21:16 · 678 阅读 · 0 评论 -
Spring 图片上传
参考:http://hi.baidu.com/yuwenxinfirst/item/0549534b12b3c60cc116137bhttp://woshixushigang.iteye.com/blog/1258404http://www.cnblogs.com/frankliiu-java/articles/1780511.html原创 2012-07-11 10:12:44 · 961 阅读 · 0 评论 -
Eclipse Maven 构建web应用
Maven 生成web应用(转) http://blog.163.com/liuweiyoung@126/blog/static/17313104520125210739180/此外设置eclipse默认编码,具体参考:http://blog.youkuaiyun.com/wodwl/article/details/7737620原创 2012-07-11 12:57:02 · 1008 阅读 · 0 评论 -
Spring 整合Struts
http://blog.youkuaiyun.com/luohuijun619/article/details/5013275转载 2013-01-04 16:43:31 · 472 阅读 · 0 评论