Posted on 2007-04-26 16:06
leekiang 阅读(1409)
评论(0) 编辑 收藏 所属分类:
tips
URL url = this.getClass().getResource("/javax/servlet/http/HttpSessionBindingListener.class");
System.out.println(url);
控制台输出:
jar:file:/D:/bea/weblogic81/server/lib/weblogic.jar!/javax/servlet/http/HttpSessionBindingListener.class
见
http://schnell18.javaeye.com/blog/39214