
J2SE
Agreal Qin
这个作者很懒,什么都没留下…
展开
-
java.util.Properties 的一些简单使用
Properties extends Hashtable 。 也就是说,Properties 类也是以“键值对”(key - value) 形式存储。一般都写成 xxx.properties 文件,但是该类还有 loadFromXML 和 storeToXML 的两个方法,那么也就是说 这种形式可以存储成 XML 文件,那么 XML 文件里的格式有该怎么写呢?API 里的说明是:loadFrom...2008-07-27 21:25:00 · 165 阅读 · 0 评论 -
EL表达式
作用域使用el的时候,默认会以一定顺序搜索四个作用域,将最先找到的变量值显示出来。 如果我们有${username}这样一个正则表达式,它回去依次调用pageContext.getAttribute("username") -> request.getAttribute("username") -> session.getAttribute("username") -> app...2008-04-10 14:40:00 · 123 阅读 · 0 评论 -
Apache Commons 笔记
Apache Commons The Commons is an Apache project focused on all aspects of reusable Java components. The Apache Commons project is composed of three parts: The Commons Prop...原创 2009-07-31 10:06:24 · 101 阅读 · 0 评论