上一页 1 ··· 3 4 5 6 7
摘要: 大意是Log4jConfigListener在获取webapp.root值时,被后一context的值替换掉了,所以要在各个项目的web.xml中配置不同的webAppRootKey值,随即在其中一个web.xml中添加: 原文地址: https://www.cnblogs.com/poterliu 阅读全文
posted @ 2018-07-03 15:35 poterliu 阅读(432) 评论(0) 推荐(0)
摘要: Mybatis-Generator插件极大地方便了我们的开发效率,不用每张表每个字段人工去敲,所以本文介绍使用Mybatis-Generator自动生成Dao、Model、Mapping相关文件 版权声明:本文为博主原创文章,未经博主允许不得转载。 原文地址: https://www.cnblogs 阅读全文
posted @ 2018-07-02 19:21 poterliu 阅读(712) 评论(0) 推荐(0)
摘要: 版权声明:本文为博主原创文章,未经博主允许不得转载。 原文地址: https://www.cnblogs.com/poterliu/p/9142637.html 1 nginx安装环境 nginx是C语言开发,建议在linux上运行,本教程使用Centos6.5作为安装环境。 n gcc 安装ngi 阅读全文
posted @ 2018-06-05 23:27 poterliu 阅读(262) 评论(0) 推荐(0)
摘要: nginx 阅读全文
posted @ 2017-04-09 22:29 poterliu 阅读(324) 评论(0) 推荐(0)
摘要: 重启网卡,关闭防火墙 阅读全文
posted @ 2017-04-09 22:28 poterliu 阅读(472) 评论(0) 推荐(0)
摘要: 今天写了个万能的BaseDao:有了这个BaseDao以后的Dao层直接继承这个BaseDao就能直接操作数据库了,增删改查,这是一个简易的Hibernate模型。 阅读全文
posted @ 2015-11-23 00:18 poterliu 阅读(1421) 评论(0) 推荐(0)
摘要: 版权声明:本文为博主原创文章,未经博主允许不得转载。 原文地址: https://www.cnblogs.com/poterliu/p/4925483.html ①如果插入字段包含对应的表的所有字段,并且是按照表中字段顺讯书写的,则可以用如下格式: String sql = "insert into 阅读全文
posted @ 2015-10-31 14:08 poterliu 阅读(1006) 评论(0) 推荐(1)
上一页 1 ··· 3 4 5 6 7