摘要: <select id="querySimpleDataView" parameterClass="string" remapResults="true" resultClass="java.util.HashMap"> select * from $viewName$ </select> 使用 re 阅读全文
posted @ 2020-12-09 18:08 枯藤老树流水人家 阅读(141) 评论(0) 推荐(0)
摘要: <#if (list?size > 0)> <thead> <tr> <th width="10%">title0</th> <th width="6%">title1</th> <th width="20%">title2</th> <th width="20%">title3</th> <th 阅读全文
posted @ 2020-11-12 15:19 枯藤老树流水人家 阅读(531) 评论(0) 推荐(0)
摘要: var beforePrint = function(){ console.log('beforePrint') //页面打印缩放比例设置 document.getElementsByTagName('body')[0].style.zoom=0.92; }; var afterPrint = fu 阅读全文
posted @ 2020-11-12 14:19 枯藤老树流水人家 阅读(2624) 评论(0) 推荐(0)
摘要: 某目录下有大量文件,且目录层级不限,需要提取文件信息,利用递归读取即可。 public static void folderMethod(String path) { File file = new File(path); if (file.exists()) { File[] files = fi 阅读全文
posted @ 2020-09-26 16:52 枯藤老树流水人家 阅读(330) 评论(0) 推荐(0)
摘要: 1、更新之前需先停机备份。 项目尽量不要放在tomcat webapps目录下,以免war删除时对应的项目文件被删除。 2、项目附件应单独一个目录,和项目代码放在一起容易被覆盖。 3、平时要注重定时备份,且对备份数据的有效新要做认真的校验,定期做恢复演练。 阅读全文
posted @ 2020-09-26 15:09 枯藤老树流水人家 阅读(177) 评论(0) 推荐(0)
摘要: 下载文件 补丁文件 链接: https://pan.baidu.com/s/1UsIMtzufTV-xbnyXpkioUw 提取码: t1kq 将2个文件夹内容分别移动到eclipse对应目录下。 亲测可用。参考:https://www.cnblogs.com/rubytim/articles/29 阅读全文
posted @ 2020-09-26 15:02 枯藤老树流水人家 阅读(677) 评论(0) 推荐(0)
摘要: 把允许简易转换勾选去掉即可! 网上有很多说要设置数据库连接的编码格式,测试均无效果,解决不了问题。 阅读全文
posted @ 2020-09-17 09:05 枯藤老树流水人家 阅读(1073) 评论(0) 推荐(0)
摘要: 修改web项目web,xml <web-app> <error-page> <error-code>404</error-code> <location>/404.jsp</location> </error-page> <error-page> <error-code>400</error-cod 阅读全文
posted @ 2020-09-10 11:24 枯藤老树流水人家 阅读(575) 评论(0) 推荐(0)
摘要: 执行命令 catalina.sh version 即可 阅读全文
posted @ 2020-09-10 10:59 枯藤老树流水人家 阅读(239) 评论(0) 推荐(0)
摘要: 只有5.6以前的版本才有在线安装(install msi),5.7之后都是zip压缩版 下载安装包 下载地址 https://dev.mysql.com/downloads/mysql/ 默认是最新版本,选择历史版本 下载后直接解压,进入初始化过程 设置环境变量 在Path中添加:%MYSQL_HO 阅读全文
posted @ 2020-08-09 17:24 枯藤老树流水人家 阅读(675) 评论(0) 推荐(0)