![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring
文章平均质量分 78
theSnai1
这个作者很懒,什么都没留下…
展开
-
Spring MVC使用commons fileupload实现文件上传功能
通过Maven建立Spring MVC项目,引入了Spring相关jar依赖。 1、为了使用commons fileupload组件,需要在pom.xml中添加依赖; <properties> <spring.version>3.0.7.RELEASE </spring.version> <junit.version&...原创 2014-07-11 15:24:31 · 290 阅读 · 0 评论 -
memcache的使用
使用memcache的两种实现jar包: 1、使用net.py.spymemcached: 1)在pom.xml中添加对net.py.spymemcached的依赖; <dependency> <groupId>net.spy</groupId> <artifactId>spymemcached<...原创 2014-07-18 16:45:00 · 144 阅读 · 0 评论 -
forward:hello 与 redirect:hello的区别
对于某些Controller的处理方法,当返回值为String类型时,返回的结果中可能含有forward或redirect前缀; 如: @Controller @RequestMapping("/user") public class UserController { @RequestMapping("/forward") public String replyWithForw...原创 2014-07-28 17:39:36 · 148 阅读 · 0 评论