见注释 基础Constants struts.devMode 可选值true,false (默认false),在开发模式下,struts2的动态重新加载配置和资源文件的功能会默认生效。同时开发模式下也会提供更完善的日志支持。 struts.i18n.reload 可选值true,false(默认值依 ...
分类:
其他好文 时间:
2016-06-24 23:27:04
阅读次数:
207
packagetest;
importorg.apache.commons.pool.PoolableObjectFactory;
importorg.apache.commons.pool.impl.GenericObjectPool;
importorg.apache.log4j.Logger;
importcom.gargoylesoftware.htmlunit.BrowserVersion;
importcom.gargoylesoftware.htmlunit.NicelyResynchron..
分类:
编程语言 时间:
2016-06-24 16:17:32
阅读次数:
422
小例子如今鼓励大众创业万众创新,身在吃货之都成都,我打算投入餐饮行业,可惜穷鬼一个,手头没多少银子,那就从小面馆开启我的创业之路吧。说干就干,简单筹备后我的面馆就开张接客啦!public class Constant {
//牛肉面
public static String BEEF_NOODLES = "BeefNoodles";
//担担面
public stat...
分类:
其他好文 时间:
2016-06-24 16:16:17
阅读次数:
323
报错信息:INFO:Illegalaccess:thiswebapplicationinstancehasbeenstoppedalready.Couldnotloadorg.apache.commons.pool.impl.CursorableLinkedList$Cursor.Theeventualfollowingstacktraceiscausedbyanerrorthrownfordebuggingpurposesaswellastoattempttoterminatethethreadw..
分类:
其他好文 时间:
2016-06-23 11:09:37
阅读次数:
509
数据库连接池(connection pool) JDBC数据库连接池的必要性 在使用开发基于数据库的web程序时,传统的模式基本是按以下步骤: 在主程序(如servlet、beans)中建立数据库连接。 进行sql操作 断开数据库连接。 这种模式开发,存在的问题: 数据库的连接资源并没有得到很好的重 ...
分类:
数据库 时间:
2016-06-22 23:26:10
阅读次数:
295
Spring : 基于XML Schema的配置(一): http://www.tuicool.com/articles/mMjY3uI util:constant/元素 http://book.51cto.com/art/201004/193395.htm http://wangqiaowqo.i ...
分类:
编程语言 时间:
2016-06-22 15:25:06
阅读次数:
155
Database=aa;Host=127.0.0.1;Server=ol_svr_custom;Service=9000;Protocol=onsoctcp;UID=informix;Password=pwd;DB_LOCALE=zh_tw.big5;CLIENT_LOCALE=zh_tw.big5 ...
分类:
Web程序 时间:
2016-06-21 15:44:05
阅读次数:
176
multiprocessing的Process,Queue,Pipe,Manager,Pool模块简介 ...
分类:
系统相关 时间:
2016-06-18 22:21:53
阅读次数:
163