自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 tomcat源代码

HttpServlet.service(request, response); ApplicationFilterChain implements FilterChain.doFilter():servlet.service(request, response);//servlet=IndexServlet support.fireInstanceEvent(Instan...

2011-05-12 23:14:28 194

原创 eclipse的vmargs设置

eclipse官网的FAQ提供以下几种方式-vmargs-Xms512m-Xmx1024m-XX:+UseParallelGC-XX:PermSize=256M-XX:MaxPermSize=512M这其中其他意义明显,但是+UseParallelGC有何用处?  ...

2011-04-03 16:55:28 294

原创 AspectJ Pointcuts的说明

<aop:config> <aop:aspect ref="audience"> <aop:pointcut id="performance" expression="execution(* *.perform(..))" /> <aop:before meth

2011-03-19 17:46:57 170

原创 Spring的xml配置一个小问题

 <bean id="pureAudience" class="com.springinaction.springidol.PureAudience" /> <aop:config> <aop:aspect ref="pureAudience"> <aop:pointcut id="p

2011-03-19 17:31:27 85

原创 Taperstry5.0学习日志

1.In Tapestry, injection occurs through constructors, through parameters to service builder methods, or through direct injection into fields. Tapestry prefers constructor injection, as this emphasizes...

2011-03-05 16:24:52 175

字节流和字符流混用会导致的问题及解决办法

试过两种情况,不管先使用字符流或者后使用字符流,这两者之间的共存都会出或多或少的问题。解决办法是使用DataOutput和DataInput两接口中可以配对的方法-readUTF()和writeUTF()方法这是客户端的代码Client.java:import java.io.DataInputStream;import java.io.File;import java.io....

2010-09-17 00:58:05 445

原创 Callable和Future

看了好长时间才知道怎么回事(可能我比较笨吧),这两个接口可以说应该是一对吧,Callable的中的call()方法负责计算,而Future中的get()方法负责得到call()计算出来的结果!...

2010-08-07 16:02:44 58

paintComponents()和paintComponent()一字之差

最近在温习线程的时候,写了一个小球碰撞的程序,发现一个问题,小球的运动始终都有拖尾。摘录了小球运动的面板类如下:class BallPanel extends JPanel{    public void add(Ball b)    {        balls.add(b);    }        public void paintComponent(Gr...

2010-05-19 18:50:29 494

父页面调用iframe里的js函数

前些天项目碰到这个问题,在ie下可以直接调用iframe里的js函数如:document.getElementById('iframedemo').targetfunction();但是这段代码在firefox下报错,于是上google搜索,发现一个解决办法,在ie和firefox下均工作正常,代码如下:document.getElementById('iframedemo')...

2009-07-31 20:58:57 73

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除