02 2016 档案
摘要:问题描述: 在springmvc中实现文件下载功能一般都会使用javax.servlet.ServletOutputStream out = response.getOutputStream();封装下载的工具类,稍后我会分享该工具类。 当使用了response.getOutputStream()后
阅读全文
摘要:<c:if test=" ${requestScope.curPage <= 0}"> </ c:if> < c:if test=" ${requestScope.curPage != 1 && requestScope.curPage > 0}"> <li><a href=" <%=basePat
阅读全文
摘要:Git操作笔记 1.创建目录 $ mkdir learngit $ cd learngit 2.把新建的目录变成仓库 $ git init 3.将一个文件添加到版本库 $ git add readme.txt 4.将一个或者多个文件一起提交到版本库 $ git commit -m "wrote a
阅读全文
摘要:设置方法介绍: eclipse中:Windows->Preferences->Java->Code Style->Code Template->Comments,然后对应的标签输入下面的内容,最后保存退出即可。 Types: /** @author 作者名 E-mail: 作者邮箱 * @date
阅读全文