<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="/xsl/rss.xsl" type="text/xsl" media="screen"?>
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:ppp="http://blog.sohu.com/rss/module/ppp/"
	>

	<channel>
		<title>我就是偶</title>
		<link>http://xtjjj.blog.sohu.com/</link>
		<description><![CDATA[静水流深，人静情深]]></description>
		<pubDate>Sun, 29 Jun 2008 21:54:57 +0800</pubDate>
		<generator>搜狐博客</generator>
		<ppp:ebi>c3e6ec5792</ppp:ebi>
		<image>
			<title>http://blog.sohu.com</title>
			<url>http://js.pp.sohu.com/ppp/blog/images/common/logo_150_60.gif</url>
			<link>http://blog.sohu.com/</link>
			<width>100</width>
			<height>43</height>
			<description>搜狐博客</description>
		</image>
		<item>
			<title>今天又变态了</title>
			<link>http://xtjjj.blog.sohu.com/91439810.html</link>
			<comments>http://xtjjj.blog.sohu.com/91439810.html#comment</comments>
			<dc:creator>我就是偶</dc:creator>
			<pubDate>Sun, 29 Jun 2008 21:54:57 +0800</pubDate>
			<category>心情</category>
			<guid>http://xtjjj.blog.sohu.com/91439810.html</guid>
			<description><![CDATA[嗯&hellip;&hellip;]]></description>
		</item>
		    
		
		<item>
			<title>最近</title>
			<link>http://xtjjj.blog.sohu.com/91366217.html</link>
			<comments>http://xtjjj.blog.sohu.com/91366217.html#comment</comments>
			<dc:creator>我就是偶</dc:creator>
			<pubDate>Sat, 28 Jun 2008 22:11:40 +0800</pubDate>
			<category>心情</category>
			<guid>http://xtjjj.blog.sohu.com/91366217.html</guid>
			<description><![CDATA[<p>前一段时间忙一个项目，忙了整整一个季度。天天起晚贪黑，体验了一下名副其实的it民工的生活。居然还没有病倒，别提前埋下病根了。</p>
<p>现在项目上线了，咋还是这么忙呢，天天除了电话，就是邮件，然后pk需求，再然后升级改造，查数据，修复数据，还做新功能。每天都忙的冲上月球了，还没觉得干什么事情。与之前不同的是，别人都可以早走了，我依然很晚。</p>
<p>最近有点变态，真是有点变态，心态也变态，心情也变态，说话做事也变态。</p>
<p>连累了我们可怜的测试兄弟，他似乎也变态很久了，呵呵。</p>
<p>昨天我俩一看表，12点，说，靠，怎么这么早。过了一会，1点了，说，怎么才1点。</p>]]></description>
		</item>
		    
		
		<item>
			<title>spring配置中使用properties文件的内容</title>
			<link>http://xtjjj.blog.sohu.com/89636225.html</link>
			<comments>http://xtjjj.blog.sohu.com/89636225.html#comment</comments>
			<dc:creator>我就是偶</dc:creator>
			<pubDate>Mon, 9 Jun 2008 11:28:03 +0800</pubDate>
			<category>开源、工具、新技术</category>
			<guid>http://xtjjj.blog.sohu.com/89636225.html</guid>
			<description><![CDATA[<p>最近在看jtrac，发现它把一些与具体资源相关的配置放在了properties文件中，而在spring的配置文件中直接引用了这些资源。</p>
<p>具体使用就是spring的PropertyPlaceholderConfigurer类或自己实现他的子类。做法很好，可以把一些灵活配置的文件和相对稳定的spring其他配置分离出来，也可以把properties单拿出应用的文件目录，给上线带来很大方便，直接替换就行了，配置性更强了。PropertyOverrideConfigurer也是相当不错的一个类，可以实现默认值了</p>
<p>转贴两个：</p>
<p><a href="http://hi.baidu.com/zhongludeng/blog/item/a575a719a805b74143a9ad82.html">http://hi.baidu.com/zhongludeng/blog/item/a575a719a805b74143a9ad82.html</a></p>
<p><a href="http://www.elanso.com/ArticleModule/NOTDL9ONSiS4VILcI5MlKzIi.html">http://www.elanso.com/ArticleModule/NOTDL9ONSiS4VILcI5MlKzIi.html</a></p>
<p>&nbsp;</p>]]></description>
		</item>
		    
		
		<item>
			<title>中奖啦！</title>
			<link>http://xtjjj.blog.sohu.com/87743810.html</link>
			<comments>http://xtjjj.blog.sohu.com/87743810.html#comment</comments>
			<dc:creator>我就是偶</dc:creator>
			<pubDate>Sun, 18 May 2008 21:42:05 +0800</pubDate>
			<category>心情</category>
			<guid>http://xtjjj.blog.sohu.com/87743810.html</guid>
			<description><![CDATA[餐费，10元，第一次在首都，第二次中餐费]]></description>
		</item>
		    
		
		<item>
			<title>迂回叫板，咋整？</title>
			<link>http://xtjjj.blog.sohu.com/86762812.html</link>
			<comments>http://xtjjj.blog.sohu.com/86762812.html#comment</comments>
			<dc:creator>我就是偶</dc:creator>
			<pubDate>Thu, 8 May 2008 13:34:49 +0800</pubDate>
			<category>心情</category>
			<guid>http://xtjjj.blog.sohu.com/86762812.html</guid>
			<description><![CDATA[唉，还挺讲究策略的。烤披萨？烤鸡翅？身为某人家的老爷，对这个挺没兴趣呢&hellip;&hellip;先放着吧，还没到决策的时候哩]]></description>
		</item>
		    
		
		<item>
			<title>struts2乱码，赶紧记下来</title>
			<link>http://xtjjj.blog.sohu.com/86092461.html</link>
			<comments>http://xtjjj.blog.sohu.com/86092461.html#comment</comments>
			<dc:creator>我就是偶</dc:creator>
			<pubDate>Wed, 30 Apr 2008 17:59:02 +0800</pubDate>
			<category>Web开发</category>
			<guid>http://xtjjj.blog.sohu.com/86092461.html</guid>
			<description><![CDATA[<p>struts2使用GBK时，提交乱码。</p>
<p>解决方法：修改struts.properties里面的struts.i18n.encoding=gbk。就o了。出现了两次了，赶快记下来</p>]]></description>
		</item>
		    
		
		<item>
			<title>恶补OGNL</title>
			<link>http://xtjjj.blog.sohu.com/85844756.html</link>
			<comments>http://xtjjj.blog.sohu.com/85844756.html#comment</comments>
			<dc:creator>我就是偶</dc:creator>
			<pubDate>Mon, 28 Apr 2008 01:47:47 +0800</pubDate>
			<category>Web开发</category>
			<guid>http://xtjjj.blog.sohu.com/85844756.html</guid>
			<description><![CDATA[<p>OGNL表达式：<a href="http://desert.javaeye.com/blog/44306">http://desert.javaeye.com/blog/44306</a></p>
<p>OGNL 表达式简介&nbsp; <a href="http://hi.baidu.com/fyears/blog/item/7ca2a03565b7a31591ef394b.html">http://hi.baidu.com/fyears/blog/item/7ca2a03565b7a31591ef394b.html</a></p>
<p><a href="http://www.blogjava.net/max/archive/2007/04/28/114417.html">Struts 2中的OGNL</a>：<a href="http://www.blogjava.net/max/archive/2007/04/28/114417.html">http://www.blogjava.net/max/archive/2007/04/28/114417.html</a></p>]]></description>
		</item>
		    
		
		<item>
			<title>人品？</title>
			<link>http://xtjjj.blog.sohu.com/85326189.html</link>
			<comments>http://xtjjj.blog.sohu.com/85326189.html#comment</comments>
			<dc:creator>我就是偶</dc:creator>
			<pubDate>Tue, 22 Apr 2008 00:14:27 +0800</pubDate>
			<category>心情</category>
			<guid>http://xtjjj.blog.sohu.com/85326189.html</guid>
			<description><![CDATA[<p>最近一直觉得人品不行，先是发现老笔记本的n键继4键（这个4是粘贴上的）后也非常的不好使，极大的影响了打字的心情，都有想买新本本的冲动了；</p>
<p>然后有线电视信号又没了，别人都说是歌华在调整，重新搜索一下就可以了，但是我家的还是显示木有授权呢；</p>
<p>再次，惊天的发现家里洗手间的地砖上经常有一滩水！！！墙角也是湿湿的，地下管道漏水了？那可真是大工程啊！心情真是悲凉啊。</p>
<p>早上出门的时候把家里的自来水总闸关掉，看好了读数。晚上回来，看看读数没变，这还是前两天小区刚刚换的&ldquo;高灵敏水表&rdquo;，姑且相信它。但是地上水有增无减呢？摸摸墙上，呀，两条很细很慢的小水纹在白墙砖上非常不明显，原来是从楼上流下来的啊！！家里的工程是省了，找个时间去楼上坐坐吧，也不好说能解决。</p>
<p>明天问问有线的事情。</p>
<p>这个n键还真是很常用啊，费劲死了</p>]]></description>
		</item>
		    
		
		<item>
			<title>hibernate、spring的一些讨论汇总</title>
			<link>http://xtjjj.blog.sohu.com/84873144.html</link>
			<comments>http://xtjjj.blog.sohu.com/84873144.html#comment</comments>
			<dc:creator>我就是偶</dc:creator>
			<pubDate>Thu, 17 Apr 2008 10:53:21 +0800</pubDate>
			<category>开源、工具、新技术</category>
			<guid>http://xtjjj.blog.sohu.com/84873144.html</guid>
			<description><![CDATA[<p>hibernate的flush机制，一级缓存的问题，<a href="http://joes0619.blog.163.com/blog/static/1042350320069305011256/">http://joes0619.blog.163.com/blog/static/1042350320069305011256/</a>&nbsp;&ldquo;浅谈hiberante的flush机制&rdquo;hibernate自动flush的时候，会按照insert、update、delete的顺序进行。在适当的时候需要手动flush</p>
<p>&nbsp;</p>
<p><a href="http://www.javaeye.com/post/140793?page=1">http://www.javaeye.com/post/140793?page=1</a></p>
<p>http://www.javaeye.com/topic/24309?page=2</p>
<p>关于session关闭的问题。spring和hibernate整合后，spring会自行管理通过hibernatetemplate进行操作的方法，复杂的方法可以写在回调函数中。如果使用了HibernateDaoSupport.getSession的方法获取hibernatesession或getHibernateTemplate().getSessionFactory()&nbsp;.openSession()，则脱离的spring的控制，并不会在事务结束后自己关闭，需要手动进行关闭。</p>
<p>如果使用了opensessioninview则不用，如果你使用OpenSessionInView模式，那么你在DAO中使用getSession()后，不用做任何处理。只要拿过来用就好了，因为此时，Spring拿到的始终是由OpenSessionInViewFilter打开的线程安全的Session对象。在Filter中最终会帮你管理这个对象，帮你关闭。具体可打开spring的debug信息查看</p>
<p><a href="http://www.javaeye.com/topic/11190?page=1">http://www.javaeye.com/topic/11190?page=1</a></p>
<p><a href="http://www.javaeye.com/topic/11738">http://www.javaeye.com/topic/11738</a></p>
<p>OpenSessionInView的问题：</p>
<p><a href="http://www.javaeye.com/topic/32001">http://www.javaeye.com/topic/32001</a> OpenSessionInView详解</p>
<p><a href="http://zhupan.javaeye.com/blog/33507">http://zhupan.javaeye.com/blog/33507</a>&nbsp;<a href="http://www.blogjava.net/ctguzhupan/archive/2006/10/15/75262.html">使用OpenSessionInView模式时的一个异常问题解决方法</a> </p>
<p><a href="http://www.javaeye.com/topic/15057">http://www.javaeye.com/topic/15057</a></p>
<p><a href="http://www.javaeye.com/topic/9668">http://www.javaeye.com/topic/9668</a></p>
<p>其他</p>
<p>http://www.javaeye.com/topic/16460?page=1</p>
<p>&nbsp;</p>]]></description>
		</item>
		    
		
		<item>
			<title>struts2整合FCKeditor</title>
			<link>http://xtjjj.blog.sohu.com/84870859.html</link>
			<comments>http://xtjjj.blog.sohu.com/84870859.html#comment</comments>
			<dc:creator>我就是偶</dc:creator>
			<pubDate>Thu, 17 Apr 2008 00:56:08 +0800</pubDate>
			<category>Web开发</category>
			<guid>http://xtjjj.blog.sohu.com/84870859.html</guid>
			<description><![CDATA[<p>今天要加编辑器，发现图片上传不能用。原来是struts2和FCKeditor同使用common file uploader上传，struts2配置使用地址&ldquo;/*&rdquo;将所有url映射进行了拦截，包括FCKeditor的。但是只映射action的话，jsp中的struts标签又无法解析</p>
<p>修改方法也很简单，使用两个filter mapping，分别对应到*.action和*.jsp</p>]]></description>
		</item>
		    
		
	</channel>
</rss>
