摘要:今天第一次知道
阅读全文
posted @ 2007-04-20 23:11
|
|||
04 2007 档案
摘要:在 tomcat 的 web.xml 中启用 compilerSourceVM 选项,设值为 1.5
阅读全文
posted @ 2007-04-18 15:19
摘要:感觉中科院总是有某一部分人是光说不练的家伙,浪费纳税人的血汗钱,借 Linux 夸大自己的能力....
阅读全文
posted @ 2007-04-15 17:52
摘要:http://blog.csdn.net/Didizyp/archive/2005/08/28/466730.aspx 一、简介 在程序中输出信息的目的有三:一是监视程序运行情况;一是将程序的运行情况记录到日志文件中,以备将来查看;一是做为调试器。但信息输出的手段不仅限于System.out.println()或System.out.print(),还有日志记录工具可以选择。与System.ou...
阅读全文
posted @ 2007-04-14 20:53
摘要:http://blog.csdn.net/Didizyp/archive/2005/08/28/466726.aspx package piv.zheng.log4j.test;import org.apache.log4j.AppenderSkeleton;import org.apache.log4j.Layout;import org.apache.log4j.helpers.LogLog;...
阅读全文
posted @ 2007-04-14 20:52
摘要:http://blog.matrix.org.cn/eoeac/entry/20070327 Log4J的配置之简单使它遍及于越来越多的应用中了 Log4J配置文件实现了输出到控制台、文件、回滚文件、发送日志邮件、输出到数据库日志表、自定义标签等全套功能。择其一二使用就够用了。 关于Log4j的使用,可以参考Log4的j简单应用。 log4j.root...
阅读全文
posted @ 2007-04-14 20:51
摘要:http://listarchive.cinjug.org/html/users/2004-03/msg00004.html log4j.rootCategory=DEBUG, A1 log4j.appender.A1=org.apache.log4j.RollingFileAppender log4j.appender.A1.File=c:/Tomcat4/logs/log4j.log #lo...
阅读全文
posted @ 2007-04-14 20:50
摘要:http://java.sun.com/j2se/1.5.0/docs/guide/language/foreach.htmlIterating over a collection is uglier than it needs to be. Consider the following method, which takes a collection of timer tasks and can...
阅读全文
posted @ 2007-04-06 11:10
摘要:假定应用服务器可通过以下路径访问网页:http://localhost:8080/a/...http://localhost:8080/b/...http://localhost:8080/test/....其中 a 对应 a.war 目录,b 对应 b.war 目录,test 对应 test.war 目录若在 test.war 中部署一个 filter ,url-pattern 设置成 /* ,...
阅读全文
posted @ 2007-04-04 10:22
|
|||