上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 18 下一页
摘要: Filter Servlet 接口 实现Filter接口 实现Servlet接口 使用步骤 1、创建类,继承接口 2、实现方法 init() doFilter() destroy() 3、配置WEB-INF/web.xml 1、创建类,继承接口 2、实现方法 init() service() des 阅读全文
posted @ 2016-07-31 12:09 煮海焚天 阅读(525) 评论(0) 推荐(1) 编辑
摘要: <filter> <filter-name>ExtendStrutsFilter</filter-name> <filter-class> com.lt.xiaoliao.util.ExtendStrutsFilter </filter-class> </filter> <filter-mappin 阅读全文
posted @ 2016-07-31 12:03 煮海焚天 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 文件位置 :apache-tomcat-6.0.14\bin\catalina.bat 参数说明: 线程池名:name="tomcatThreadPool" 线程前缀: namePrefix="catalina-exec-" 最大产生线程数:maxThreads="800" 最小初始现程数:minS 阅读全文
posted @ 2016-07-31 11:52 煮海焚天 阅读(697) 评论(0) 推荐(0) 编辑
摘要: 1 事务的传播属性(Propagation) 1) REQUIRED ,这个是默认的属性 Support a current transaction, create a new one if none exists. 如果存在一个事务,则支持当前事务。如果没有事务则开启一个新的事务。 被设置成这个级 阅读全文
posted @ 2016-07-31 11:49 煮海焚天 阅读(31563) 评论(0) 推荐(5) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?> <ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ehcache.xsd"> <di 阅读全文
posted @ 2016-07-31 11:40 煮海焚天 阅读(389) 评论(0) 推荐(0) 编辑
摘要: 以下方法可以帮助你解决这个问题了,下面的语句功能是,建立一个用户为monitor密码admin权限为和root一样。允许任意主机连接。这样你可以方便进行在本地远程操作数据库了。CREATE USER 'monitor'@'%' IDENTIFIED BY 'admin';GRANT ALL PRIV 阅读全文
posted @ 2016-07-31 11:28 煮海焚天 阅读(663) 评论(0) 推荐(0) 编辑
摘要: /** * 下载excel * @param request * @param response * @param filePath * @param fileName */public static void download(HttpServletRequest request, HttpSer 阅读全文
posted @ 2016-07-28 19:07 煮海焚天 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 近日测试用例,发现这样一个现象:在业务代码中,有如下两种情况,比如:throw new RuntimeException("xxxxxxxxxxxx"); 事物回滚throw new Exception("xxxxxxxxxxxx"); 事物没有回滚 自以为很了解事物,或许时间久远的缘故,没分析出来 阅读全文
posted @ 2016-07-25 21:41 煮海焚天 阅读(393) 评论(0) 推荐(0) 编辑
摘要: QRTZ_CALENDARS 以 Blob 类型存储 Quartz 的 Calendar 信息 QRTZ_CRON_TRIGGERS 存储 Cron Trigger,包括 Cron表达式和时区信息 QRTZ_FIRED_TRIGGERS 存储与已触发的 Trigger 相关的状态信息,以及相联 Jo 阅读全文
posted @ 2016-07-25 21:31 煮海焚天 阅读(4115) 评论(0) 推荐(0) 编辑
摘要: 一、首先安装mongodb 1.下载地址:http://www.mongodb.org/downloads 2.解压缩到自己想要安装的目录,比如d:\mongodb 3.创建文件夹d:\mongodb\data\db、d:\mongodb\data\log,分别用来安装db和日志文件,在log文件夹 阅读全文
posted @ 2016-07-23 10:15 煮海焚天 阅读(220) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 18 下一页