<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_往事如风</title><subtitle type="text">　　　会当临绝顶，一览众山小</subtitle><id>http://feed.cnblogs.com/blog/u/12076/rss</id><updated>2009-10-13T15:52:35Z</updated><author><name>往事如风</name><uri>http://www.cnblogs.com/zxub/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zxub/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/12076/rss"/><entry><id>http://www.cnblogs.com/zxub/archive/2007/02/10/647156.html</id><title type="text">由于自己申请了域名和空间，以后就不更新这里了</title><summary type="text">由于自己申请了域名和空间，以后就不更新这里了，新地址：www.wsrf.cn　　2009.11.12更新：不玩空间了，域名已过期，刚上去，发现被抢注了。</summary><published>2007-02-10T15:09:00Z</published><updated>2007-02-10T15:09:00Z</updated><author><name>往事如风</name><uri>http://www.cnblogs.com/zxub/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zxub/archive/2007/02/10/647156.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zxub/archive/2007/02/10/647156.html"/></entry><entry><id>http://www.cnblogs.com/zxub/archive/2007/01/25/630017.html</id><title type="text">spring的自动装配导致quartz出问题【原创】</title><summary type="text">昨天由于项目需要，要把quartz集成进去，原来的项目已经用过，所以直接把配置copy下就行了，这个工作交给同事做去了，谁知道一直报错，死活不行，由于临下班了，所以没管了。　　今天早上过来，把yui-ext精简了下，不记得昨天的问题了，过了一会，同事那还是不行，奇怪了，把文件复制过来，我这边一运行，问题依旧，怪了，我原来是可以的。　　仔细一查，发现是工作保存方式有问题，一般只要存在内存中就行了，但...</summary><published>2007-01-25T03:20:00Z</published><updated>2007-01-25T03:20:00Z</updated><author><name>往事如风</name><uri>http://www.cnblogs.com/zxub/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zxub/archive/2007/01/25/630017.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zxub/archive/2007/01/25/630017.html"/></entry><entry><id>http://www.cnblogs.com/zxub/archive/2007/01/22/627300.html</id><title type="text">关于用jsp生成xml的问题【原创】</title><summary type="text">刚看到群里人说jsp生成的xml用ajax取有问题，由于基本不用jsp做显示，所以只有试验了下，随便写了段测试代码，用ie直接看，很正常，ajax取死活不行，代码如下：&amp;lt;%@pagelanguage="java"contentType="text/xml;charset=UTF-8"import="java.util.*"pageEncoding="UTF-8"%&amp;gt;&amp;lt;%out.p...</summary><published>2007-01-22T12:17:00Z</published><updated>2007-01-22T12:17:00Z</updated><author><name>往事如风</name><uri>http://www.cnblogs.com/zxub/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zxub/archive/2007/01/22/627300.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zxub/archive/2007/01/22/627300.html"/></entry><entry><id>http://www.cnblogs.com/zxub/archive/2007/01/13/619402.html</id><title type="text">spring的单例导致webwork文件上传出现问题【原创】</title><summary type="text">查了下webwork文件上传部分的源码，发现它将出错信息保存起来了，前端ftl一调用，ok了，但是，发现错误是越加越多，还以为是webwork的addFieldError部分引起的，就想把错误信息在显示完后清除掉。但是由于整个处理过程被webwork封装了，想清除也不是那么容易的，就去查整个处理过程。　　在这个时候，发现如果上传一次非法文件后，就不能再上传任何文件了，对一些请求的调用，居然都返回到...</summary><published>2007-01-13T03:01:00Z</published><updated>2007-01-13T03:01:00Z</updated><author><name>往事如风</name><uri>http://www.cnblogs.com/zxub/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zxub/archive/2007/01/13/619402.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zxub/archive/2007/01/13/619402.html"/></entry><entry><id>http://www.cnblogs.com/zxub/archive/2007/01/12/619032.html</id><title type="text">resin版本导致的webwork2.2.4找不到xwork.xml【原创】</title><summary type="text">由于webwork2.2.2的文件上传对中文文件名的支持不够，所以今天早上找了webwork2.2.4，换了几个包，调试了下，中文ok了，但是，只好了这么一下，就永远的报找不到xwork.xml了。　　开始怀疑是代码的问题，左找右找没找出问题来。叫同事试了下，居然可以，郁闷。　　换新resin、新JDK、新系统、新Eclipse，都不行，郁闷。叫同事把编译好的拿来运行，不行，接着叫拿他们的resi...</summary><published>2007-01-12T08:31:00Z</published><updated>2007-01-12T08:31:00Z</updated><author><name>往事如风</name><uri>http://www.cnblogs.com/zxub/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zxub/archive/2007/01/12/619032.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zxub/archive/2007/01/12/619032.html"/></entry><entry><id>http://www.cnblogs.com/zxub/archive/2006/10/21/535454.html</id><title type="text">Gel备注【原创】</title><summary type="text">昨天在网上看到个编java的IDE，就是Gel了，号称世界上最轻巧的Java IDE，费了一番功夫下了个，没想到还是多国语言版的，爽到了。　　用了一会，就把原来下的JCreator4.0删了，尽管JCreator4.0相比以前的版本有很大的提高，但是感觉还是不如Gel好用。尽管功能不如Eclipse，但是Gel可是轻巧型的。　　留一个下载地址，需要的自己去下：http://memescape.co...</summary><published>2006-10-21T00:24:00Z</published><updated>2006-10-21T00:24:00Z</updated><author><name>往事如风</name><uri>http://www.cnblogs.com/zxub/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zxub/archive/2006/10/21/535454.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zxub/archive/2006/10/21/535454.html"/></entry><entry><id>http://www.cnblogs.com/zxub/archive/2006/09/29/518656.html</id><title type="text">struts的action直接输出中文备注【原创】</title><summary type="text">刚在群里解答了一个ajax取action产生的中文页面得到乱码的问题，感觉有必要记下来，这段代码是这么写的，输出编码为utf-8response.setContentType("text/html;charset=utf-8");response.setHeader("Cache-Control","no-cache");try{PrintWriterpw=newPrintWriter(newOu...</summary><published>2006-09-29T13:25:00Z</published><updated>2006-09-29T13:25:00Z</updated><author><name>往事如风</name><uri>http://www.cnblogs.com/zxub/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zxub/archive/2006/09/29/518656.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zxub/archive/2006/09/29/518656.html"/></entry><entry><id>http://www.cnblogs.com/zxub/archive/2006/09/29/518026.html</id><title type="text">iframe高度处理【原创】</title><summary type="text">以前处理iframe高度的时候，是在每个页面里写两句js，感觉太烦了，今天处理了下，并增加对ff的支持。代码如下：/***iframe高度处理*@authorzxub2006-09-29*//***设置iframe高度等于内部页面高度，用于内部页面*/functionsetParentHeight(_iframeId){if(parent.setIFrameHeight)return;if(win...</summary><published>2006-09-29T03:23:00Z</published><updated>2006-09-29T03:23:00Z</updated><author><name>往事如风</name><uri>http://www.cnblogs.com/zxub/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zxub/archive/2006/09/29/518026.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zxub/archive/2006/09/29/518026.html"/></entry><entry><id>http://www.cnblogs.com/zxub/archive/2006/09/16/506268.html</id><title type="text">网上流行的flash切换图片之研究【原创】</title><summary type="text">今天无意中发现了网上流行的那个flash切换图片的应用方法，用了下，比纯粹的javascript效果好很多，所以封了一个javascript类方便应用，然后，想起chinaren上面的那个可以转动的3d的flash切换图片，感觉上应该是一样的，就上去看了看，基本上是一样的，附带收获是弄了个处理flash的javascript类，不错，这2种的效果截图如下：　　下面的就是chinaren的那个，索性...</summary><published>2006-09-16T13:55:00Z</published><updated>2006-09-16T13:55:00Z</updated><author><name>往事如风</name><uri>http://www.cnblogs.com/zxub/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zxub/archive/2006/09/16/506268.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zxub/archive/2006/09/16/506268.html"/></entry><entry><id>http://www.cnblogs.com/zxub/archive/2006/08/10/472859.html</id><title type="text">FreeMarker生成xml的教训【原创】</title><summary type="text">原来生成xml，是在一个servlet直接把xml字符串输出来，总感到有那么点不好，就决定用FreeMarker做模板，在struts的action中取得对象集合，传过去，生成xml。　　由于这个工作很简单，很快就完成了，输入地址直接看了下，是xml那种形式的，然后，产生树形结构的代码中的ajax部分调用这个xml，结果居然抛错，取不到responseXML中的元素。　　我怎么想都不明白，明明看着...</summary><published>2006-08-10T00:41:00Z</published><updated>2006-08-10T00:41:00Z</updated><author><name>往事如风</name><uri>http://www.cnblogs.com/zxub/</uri></author><link rel="alternate" href="http://www.cnblogs.com/zxub/archive/2006/08/10/472859.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/zxub/archive/2006/08/10/472859.html"/></entry></feed>
