
java
wangxin0072000
这个作者很懒,什么都没留下…
展开
-
Struts内置Action类
有一些常用的Action类Struts 已经帮你写好了,如果有不知道的可以来这里看看。1 org.apache.struts.actions.ForwardActionforwardAction的特点是利用控制器转发请求。 这样做比直接用链接转向的好处是控制器能够创建和这个表单对应的ActionForm对象,把用户输入表单数据组装到ActionForm中。具体操作也很简单 比如:页...2007-07-25 11:11:00 · 124 阅读 · 0 评论 -
java io 类图
以下是java io 类图, 出自《java核心技术》。有了它,我就不再为io操作而发愁了。2007-07-28 23:57:42 · 162 阅读 · 0 评论 -
Ext与JavaEE之我见(第一部显示层部分)
本人最近分别用Ext1.1与Ext2.0开发了两个小规模的java web系统,主要目的是验证Ext作为J2EE前端显示层的可能性.我以前对YUI有一定了解,所以很快就能入手,在开发前对系统有一些构想(主要从Ext的例子与Ext官方论坛中其他同行的demo得到的灵感).当时对ajax并不了解,对js也使用不多.但是折服与Ext的UI效果,所以开始了对Ext的探索.主要有一下构想1 尝...2007-11-25 23:36:00 · 165 阅读 · 0 评论 -
Apache Commons-configuration 学习笔记
Apache Commons-configuration 学习笔记1 如果要使用configuration这个包,首先要保证使用JDK1.2以上,还要引入如下jar包[list][*]commons-beanutils[*]commons-lang[*]commons-logging[*]commons-collections[*]commons-digester[...2008-04-23 17:02:48 · 198 阅读 · 0 评论 -
Apache Commons-configuration 学习笔记2
如果你确定要解析的文件是properties那么你完全可以使用[code="java"]PropertiesConfiguration config = new PropertiesConfiguration("tt/t.properties"); [/code] 代替[code="java"]Configuration config = new PropertiesConfig...2008-04-23 22:26:10 · 373 阅读 · 0 评论 -
Apache Commons-configuration 学习笔记3
读取XML假如有个XML,名叫:XMLtest.xml如下:[code="java"] #808080 #000000 #008000 ${colors.header} 15 OK,Cancel,Help Yes,No,Cancel [/code]标准的XML文...2008-04-23 23:27:18 · 131 阅读 · 0 评论 -
Apache Commons-configuration 学习笔记4
再来个更加复杂一点的XML[code="java"] users uid long uname java.lang.String f...2008-04-24 00:04:44 · 100 阅读 · 0 评论 -
Lightweight Class In Hibernate3
[b]Lightweight Class In Hibernate3[/b]Suppose I have the following persistent class:假如有这样一个持久化类:[code="java"]public class Document implements Node { private Long _key; private String...2008-05-20 20:49:41 · 84 阅读 · 0 评论