Springmvc
文章平均质量分 79
yzcn2013
希望和大神们有好的交流,使自己的技术提高
展开
-
Springmvc +Ehcache 缓存介绍
Ehcache算是当前比较流行的缓存框架,使用缓存可以极大的缓解服务器和数据库的压力,提高访问效率,提高服务器的并发能力。接下来我们看怎么把缓存使用起来。SpringMVC集成Ehcache所需的jar包:包括ehcache-core-2.4.3.jar、ehcache-web-2.0.4.jar、guava-15.0.jar、slf4j-api-1.7.12.jar、commons-loggin...转载 2018-03-09 14:08:02 · 223 阅读 · 0 评论 -
javaweb 压缩文件 并下载
private static final int BUFFER_SIZE = 1024; //压缩多个文件为ZIP格式 public static void toZip(List<File> srcFiles ,String path,HttpServletResponse response)throws RuntimeException, IO...原创 2018-11-12 16:23:47 · 438 阅读 · 0 评论