![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java In Action
文章平均质量分 82
wangw2008
这个作者很懒,什么都没留下…
展开
-
javax.servlet.*,javax.servlet.http.*包应用-Filter
A filter is an object that performs filtering tasks on either the request to a resource (a servlet or static content), or on the response from a resource, or both.Filter是针对客户端向服务器请求资源的时候,过滤和校验该请求是否有效...2007-05-25 18:10:47 · 1070 阅读 · 0 评论 -
Eclipse中Console显示乱码问题
Eclipse中Console中显示乱码解决方法:Run->run...->Common->Console Encoding 选择你需要的编码就可以正常显示了.~2009-03-05 17:01:45 · 193 阅读 · 0 评论 -
在eclipse中解决java.lang.UnsupportedClassVersionError 错误
以前用JDK1.5,公司要求使用JDK1.4完了后发现用ECLIPSE编译不了程序:上网搜索发现是版本有些冲突:解决方法Windows-->Preferences在弹出的窗口中选择java-->compiler在右上方Compile compliance level:把1.5改成1.4...2007-12-03 19:43:05 · 283 阅读 · 0 评论 -
Axis和Oracle Application Service支持的Document-style调用方式
The axis user's guide states there are four valid signatures for message styleservices:public Element [] method(Element [] bodies);public SOAPBodyElement [] method (SOAPBodyElement [] bodies);pub...2007-11-10 14:31:00 · 117 阅读 · 0 评论 -
js 中调用attachEvent传参数的问题
在JavaScript中调用attachEvent时,由于JS闭包的问题不能直接将函数HANDLE传递,要经过如下改造var deleteFile = function(fileName){ return function(){ alert(fileName); } }imgElement.attachEvent("onclick",deleteFil...2007-10-20 17:34:32 · 98 阅读 · 0 评论 -
UML关系说明
http://blog.csdn.net/jojoy_828/archive/2007/12/01/1911165.aspx原创 2008-07-09 15:15:44 · 70 阅读 · 0 评论 -
Studying Acegi
Acegi主要的功能包括认证(Authentication)和授权(Authorization)。认证顾名思义就是确定该用户是否有权限登陆系统。而授权则是根据用户的信息得到该用户在本系统中可以进行的操作。Acegi has provided about 14 authentication rules. Form Based Authentication and DAO Authenticatio...2007-06-11 15:42:00 · 61 阅读 · 0 评论 -
Java Pattern - Behavioral Pattern
Observer Pattern可以通过一下两个Interface理解.java 代码 abstract interface observer{ public void sendNotify(String s) } abstract interface subject{ publ...2007-05-31 13:36:14 · 61 阅读 · 0 评论 -
Java Pattern - Structure Pattern
Adapter 故名思意"适配器"类型,它主要的功能是改变一个类的方法使之符合特定的方法.实现Adapter有两种方式,一种是从类继承.在子类中加入新的方法.另一种就是将基类做为子类的一个参数,重新封装基类. Bridge 的只要目的是将接口和类的实现分离,这类似于Adapter Pattern中的类适配.但是类适配模式的主要目的是将各个不同的类的接口统一,而Bridge的目的则是将接口和类的实...2007-05-29 10:44:08 · 169 阅读 · 0 评论 -
Java Web Framework综述 Ref from http://www.prosky.org/top_5895
Java Web Framework综述0.简介本文介绍Java Web Framework的基本工作原理,和一些常用的开源Web MVC Framework(Struts, Web Work, Tapestry, Echo, JSF, Maverick, Spring MVC, Turbine, Cocoon, Barracuda)。Web开发的最重要的基本功是HTTP;Java Web开...2007-05-28 19:15:58 · 163 阅读 · 0 评论 -
javax.servlet.*,javax.servlet.http.*包应用-Listener
Listener如其名所意,它是一个事件监听器.在以上的两个包里包含ServletContextListener ServletRequestAttributeListener ServletRequestListener HttpSessionActivationListener HttpSessionAttributeListener HttpSessionBindingListen...2007-05-25 18:18:45 · 456 阅读 · 0 评论 -
Best Practices for Exception Handling
http://www.onjava.com/pub/a/onjava/2003/11/19/exceptions.html2008-01-22 16:01:19 · 55 阅读 · 0 评论