Tomcat是非常有名的开源容器,因其开源我们可以对其做定制化的改变,而且Tomcat在其配置文件方面做了很多注释说明摘要,帮助我们更好的定制化我们所需的功能点. New Tomcat Listener 首先看下Tomcat整个比较有名的Listener,在我们的conf/server.xml文件中一目了然 类图 NEXT 自定义的Listener,本代码是案例的方式,实际上在我们项目中定制化扩展了,譬如应用stop后,通知集群下的另外机器:监听接受UDP发过来的信息... import jav…
HtmlCleaner CleanerProperties 参数配置 Parameter Default Explanation advancedXmlEscape true If this parameter is set to true, ampersand sign (&) that proceeds valid XML character sequences (&XXX;) will not be escaped with &XXX; transResCharsToNCR…
[sql] view plaincopy SQL> create table t as select 1 id,object_name from dba_objects; Table created SQL> update t set id=99 where rownum=1; 1 row updated SQL> commit; Commit complete SQL> create index t_ind on t(id); Index created oracle优化器:RB…
JavaWorld一篇题为 Add dynamic code to your application 的文章介绍了如何使用动态代理技术使普通的java源代码具有像jsp一样的动态编译效果,十分有趣. 使用过jsp技术的程序员都知道,应用部署以后,我们是可以直接修改jsp源文件的.当客户请求这个被修改过的jsp文件时,web容器会自动监测出该jsp文件已经被更新,因此重新编译该jsp文件,向客户返回最新的信息.但是,对于一般的java源文件,如果我们仅仅修改源文件,而不重新编译部署的话,web容…