<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/fableking" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/fableking" type="application/rss+xml"></fs:self_link><lastBuildDate>Wed, 15 Apr 2009 09:47:00 GMT</lastBuildDate><title>天涯 书塾</title><description>茶亦醉人何必酒，书能香我哪须花</description><link>http://blog.csdn.net/fableking/</link><item><title>本博客已转</title><link>http://blog.csdn.net/fableking/archive/2009/04/15/4074843.aspx</link><wfw:comment>http://blog.csdn.net/fableking/comments/4074843.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/fableking/comments/commentRss/4074843.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4074843</trackback:ping><description>&lt;br /&gt;新址：http://fableking.javaeye.com&lt;img src =&quot;http://blog.csdn.net/fableking/aggbug/4074843.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Wed, 15 Apr 2009 17:47:00 +0800</pubDate><author>欣水寓言</author><comments>http://blog.csdn.net/fableking/archive/2009/04/15/4074843.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/fableking/archive/2009/04/15/4074843.aspx</guid><dc:creator>欣水寓言</dc:creator></item><item><title>sql随机抽取记录</title><link>http://blog.csdn.net/fableking/archive/2009/04/03/4046635.aspx</link><wfw:comment>http://blog.csdn.net/fableking/comments/4046635.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/fableking/comments/commentRss/4046635.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4046635</trackback:ping><description>我们经常想在一个数据表中随机地选取出数据来，比如随机生成考试试卷等。
利用 SQL Server 的 NewID() 方法就可以很轻松地达到这个目的。&lt;img src =&quot;http://blog.csdn.net/fableking/aggbug/4046635.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Fri, 03 Apr 2009 23:15:00 +0800</pubDate><author>欣水寓言</author><comments>http://blog.csdn.net/fableking/archive/2009/04/03/4046635.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/fableking/archive/2009/04/03/4046635.aspx</guid><dc:creator>欣水寓言</dc:creator></item><item><title>配置Spring数据源c3p0与dbcp</title><link>http://blog.csdn.net/fableking/archive/2009/03/24/4020771.aspx</link><wfw:comment>http://blog.csdn.net/fableking/comments/4020771.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/fableking/comments/commentRss/4020771.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4020771</trackback:ping><description>　不管通过何种持久化技术，都必须通过数据连接访问数据库，在Spring中，数据连接是通过数据源获得的。在以往的应用中，数据源一般是 Web应用服务器提供的。在Spring中，你不但可以通过JNDI获取应用服务器的数据源，也可以直接在Spring容器中配置数据源，此外，你还可以 通过代码的方式创建一个数据源，以便进行无依赖的单元测试 &lt;br /&gt;配置一个数据源 &lt;br /&gt;    Spring在第三方依赖包中包含了两个数据源的实现类包，其一是Apache的DBCP，其二是 C3P0。可以在Spring配置文件中利用这两者中任何一个配置数据源。DBCP数据源 &lt;br /&gt;    DBCP类包位于 /lib/jakarta-commons/commons-dbcp.jar，DBCP是一个依赖 Jakarta commons-pool对象池机制的数据库连接池，所以在类路径下还必须包括/lib/jakarta- commons/commons-pool.jar。下面是使用DBCP配置MySql数据源的配置片断：xml 代码&lt;br /&gt;&lt;img src =&quot;http://blog.csdn.net/fableking/aggbug/4020771.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Wed, 25 Mar 2009 00:45:00 +0800</pubDate><author>欣水寓言</author><comments>http://blog.csdn.net/fableking/archive/2009/03/24/4020771.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/fableking/archive/2009/03/24/4020771.aspx</guid><dc:creator>欣水寓言</dc:creator></item><item><title>Java 理论与实践: 正确使用 Volatile 变量</title><link>http://blog.csdn.net/fableking/archive/2009/03/15/3991333.aspx</link><wfw:comment>http://blog.csdn.net/fableking/comments/3991333.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/fableking/comments/commentRss/3991333.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3991333</trackback:ping><description>Java™ 语言包含两种内在的同步机制：同步块（或方法）和 volatile 变量。这两种机制的提出都是为了实现代码线程的安全性。其中 Volatile 变量的同步性较差（但有时它更简单并且开销更低），而且其使用也更容易出错。在这期的 Java 理论与实践 中，Brian Goetz 将介绍几种正确使用 volatile 变量的模式，并针对其适用性限制提出一些建议。 &lt;br /&gt;Java 语言中的 volatile 变量可以被看作是一种 “程度较轻的 synchronized”；与 synchronized 块相比，volatile 变量所需的编码较少，并且运行时开销也较少，但是它所能实现的功能也仅是 synchronized 的一部分。本文介绍了几种有效使用 volatile 变量的模式，并强调了几种不适合使用 volatile 变量的情形。 &lt;br /&gt;锁提供了两种主要特性：互斥（mutual exclusion） 和可见性（visibility）。互斥即一次只允许一个线程持有某个特定的锁，因此可使用该特性实现对共享数据的协调访问协议，这样，一次就只有一个线程能够使用该共享数据。可&lt;img src =&quot;http://blog.csdn.net/fableking/aggbug/3991333.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sun, 15 Mar 2009 10:09:00 +0800</pubDate><author>欣水寓言</author><comments>http://blog.csdn.net/fableking/archive/2009/03/15/3991333.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/fableking/archive/2009/03/15/3991333.aspx</guid><dc:creator>欣水寓言</dc:creator></item><item><title>深入浅出URL编码</title><link>http://blog.csdn.net/fableking/archive/2009/03/12/3984890.aspx</link><wfw:comment>http://blog.csdn.net/fableking/comments/3984890.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/fableking/comments/commentRss/3984890.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3984890</trackback:ping><description>&lt;br /&gt;一、问题：&lt;br /&gt;        编码问题是JAVA初学者在web开发过程中经常会遇到问题，网上也有大量相关的文章介绍，但其中很多文章并没有对URL中使用了中文等非ASCII的字符造成服务器后台程序解析出现乱码的问题作出准确的解释和说明。本文将详细介绍由于在URL中使用了中文等非ASCII的字符造成乱码的问题。&lt;br /&gt;1、在URL中中文字符通常出现在以下两个地方：&lt;br /&gt;(1)、Query String中的参数值，比如http://search.china.alibaba.com/search/offer_search.htm?keywords=中国&lt;br /&gt;(2)、servlet path，比如：http://search.china.alibaba.com/selloffer/中国.html&lt;br /&gt;&lt;br /&gt;2、出现乱码问题的原因主要是以下几方面：&lt;br /&gt;(1)、浏览器：我们的客户端（浏览器）本身并没有遵循URI编码的规范（http://www.w3.org/International/O-URL-code.html）。&lt;br /&gt;(2)、Ser&lt;img src =&quot;http://blog.csdn.net/fableking/aggbug/3984890.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Fri, 13 Mar 2009 01:51:00 +0800</pubDate><author>欣水寓言</author><comments>http://blog.csdn.net/fableking/archive/2009/03/12/3984890.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/fableking/archive/2009/03/12/3984890.aspx</guid><dc:creator>欣水寓言</dc:creator></item><item><title>Javascript的Date格式化方法</title><link>http://blog.csdn.net/fableking/archive/2009/03/12/3984131.aspx</link><wfw:comment>http://blog.csdn.net/fableking/comments/3984131.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/fableking/comments/commentRss/3984131.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3984131</trackback:ping><description>由于考虑到星期是中文可能会产生乱码，所以这里使用了unicode编码格式，这样使用的时候就不会产生乱码问题了，注释乱码问题忽略&lt;img src =&quot;http://blog.csdn.net/fableking/aggbug/3984131.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 12 Mar 2009 22:45:00 +0800</pubDate><author>欣水寓言</author><comments>http://blog.csdn.net/fableking/archive/2009/03/12/3984131.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/fableking/archive/2009/03/12/3984131.aspx</guid><dc:creator>欣水寓言</dc:creator></item><item><title>禁止鼠标选择文本实现</title><link>http://blog.csdn.net/fableking/archive/2009/03/11/3981025.aspx</link><wfw:comment>http://blog.csdn.net/fableking/comments/3981025.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/fableking/comments/commentRss/3981025.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3981025</trackback:ping><description>&lt;br /&gt;Firefox浏览器&lt;br /&gt;屏蔽选择的样式定义：-moz-user-select属性（只支持ff）。 &lt;br /&gt;属性有三个属性值： &lt;br /&gt;1、&lt;br /&gt;none：用none,子元素所有的文字都不能选择，包括input输入框中的文字也不能选择。&lt;br /&gt;2、&lt;br /&gt;-moz-all：子元素所有的文字都可以被选择，但是input输入框中的文字不可以被选择。&lt;br /&gt;3、&lt;br /&gt;-moz-none：子元素所有的文字都不能选择，但是input输入框中的文字除外。&lt;br /&gt;IE浏览器下是通过&lt;br /&gt;onselectstart=”javascript:return false;”事件来实现该功能。&lt;img src =&quot;http://blog.csdn.net/fableking/aggbug/3981025.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 12 Mar 2009 01:26:00 +0800</pubDate><author>欣水寓言</author><comments>http://blog.csdn.net/fableking/archive/2009/03/11/3981025.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/fableking/archive/2009/03/11/3981025.aspx</guid><dc:creator>欣水寓言</dc:creator></item><item><title>Java技巧：Java向Web站点发送POST请求</title><link>http://blog.csdn.net/fableking/archive/2009/03/04/3957347.aspx</link><wfw:comment>http://blog.csdn.net/fableking/comments/3957347.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/fableking/comments/commentRss/3957347.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3957347</trackback:ping><description>&lt;br /&gt;向一个Web站点发送POST请求只需要简单的几步: &lt;br /&gt;首先要和URL下的URLConnection对话。URLConnection可以很容易的从URL得到。比如： &lt;br /&gt;// Using java.net.URL and &lt;br /&gt;//java.net.URLConnection &lt;br /&gt;URL url = new &lt;br /&gt;URL(&quot;http://jobsearch.dice.com/jobsearch/jobsearch.cgi&quot;); &lt;br /&gt;URLConnection connection = url.openConnection(); &lt;br /&gt;然后把连接设为输出模式。URLConnection通常作为输入来使用，比如下载一个Web页。通过把URLConnection设为输出，你可以把数据向你个Web页传送。下面是如何做： &lt;br /&gt;... &lt;br /&gt;connection.setDoOutput(true); &lt;br /&gt;最后，为了得到OutputStream，简单起见，把它约束在Writer并且放入POST信息中，例如： &lt;img src =&quot;http://blog.csdn.net/fableking/aggbug/3957347.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 05 Mar 2009 02:18:00 +0800</pubDate><author>欣水寓言</author><comments>http://blog.csdn.net/fableking/archive/2009/03/04/3957347.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/fableking/archive/2009/03/04/3957347.aspx</guid><dc:creator>欣水寓言</dc:creator></item><item><title>变态楼主与暴强回复100-200</title><link>http://blog.csdn.net/fableking/archive/2009/03/01/3948045.aspx</link><wfw:comment>http://blog.csdn.net/fableking/comments/3948045.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/fableking/comments/commentRss/3948045.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3948045</trackback:ping><description>&lt;br /&gt;101、变态楼主：中国足球出线～打一歌曲名？&lt;br /&gt;　　暴强回复：神话。&lt;br /&gt;&lt;br /&gt;　　102、变态楼主：我和我女朋友完事后习惯性的掏出200块钱，我该怎么和她解释？&lt;br /&gt;　　暴强回复：她没习惯性的找你50吧。&lt;br /&gt;&lt;br /&gt;　　103、变态楼主：我和她ML的时候她叫我老公，是不是表示爱我的？&lt;br /&gt;　　暴强回复：她怕名字会叫错。&lt;br /&gt;&lt;br /&gt;　　104、变态楼主：真想结识个外国女友，自己国家的已经不稀罕了，但我就会说粤语，唉，学历不够，遥远啊～&lt;br /&gt;　　暴强回复：你认为把0。5的铅芯塞到1。0的自动铅笔里能写出字来吗？&lt;br /&gt;&lt;br /&gt;　　105、变态楼主：汪汪汪&lt;br /&gt;　　暴强回复：乖儿子。&lt;br /&gt;&lt;br /&gt;　　106、变态楼主：日本怎么不让苍井空扛旗？&lt;br /&gt;　　暴强回复：穿上衣服谁认识。&lt;br /&gt;&lt;br /&gt;　　107、变态楼主：男人就像1元硬币，正面是1，反面是菊花。&lt;br /&gt;　　暴强回复：女人就像是古代钱币，正面是洞，反面也是洞。&lt;br /&gt;&lt;br /&gt;　　108、变态楼主：今天两个男生又&lt;img src =&quot;http://blog.csdn.net/fableking/aggbug/3948045.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Mon, 02 Mar 2009 06:40:00 +0800</pubDate><author>欣水寓言</author><comments>http://blog.csdn.net/fableking/archive/2009/03/01/3948045.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/fableking/archive/2009/03/01/3948045.aspx</guid><dc:creator>欣水寓言</dc:creator></item><item><title>变态楼主与暴强回复1-100</title><link>http://blog.csdn.net/fableking/archive/2009/03/01/3948041.aspx</link><wfw:comment>http://blog.csdn.net/fableking/comments/3948041.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/fableking/comments/commentRss/3948041.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3948041</trackback:ping><description>&lt;br /&gt;1、变态楼主：唐僧咋不把鸡鸡割了送人呢？&lt;br /&gt;　　暴强回复：估计唐僧JJ太小，不好意思亮出来，别人也不好意思去找，一般人还找不到，可能是几辈子没怎么用，退化了都，确实找不到了，不是他不想送人。要是给唐王吃了，现在还是大唐盛世。&lt;br /&gt;&lt;br /&gt;　　2、变态楼主：终于在网易上找到一则非黄色新闻，大家想看看吗？中央气象台发布国庆天气预报。&lt;br /&gt;　　暴强回复：哈哈，这个也黄？阴道多云。&lt;br /&gt;&lt;br /&gt;　　3、变态楼主：养条狗和养一个男人哪个合算？&lt;br /&gt;　　暴强回复：大婶，即使你能把男人当狗使，但你敢把狗当男人使不？&lt;br /&gt;&lt;br /&gt;　　4、变态楼主：某公司年终考核互评，行政部一男评一女：做事时容易激动？&lt;br /&gt;　　暴强回复：秘书科一女评一男：做事不能持久。&lt;br /&gt;&lt;br /&gt;　　5、变态楼主：男人为什么想肛交？&lt;br /&gt;　　暴强回复：不走寻常路！&lt;br /&gt;&lt;br /&gt;　　6、变态楼主：我是一个26岁离异并生过孩子的女人，现在有三个未婚男人同时追求我。我不知该选择谁来陪伴我的下半辈子。天涯的人可以指点一下吗？&lt;br /&gt;　　暴强回复&lt;img src =&quot;http://blog.csdn.net/fableking/aggbug/3948041.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Mon, 02 Mar 2009 06:39:00 +0800</pubDate><author>欣水寓言</author><comments>http://blog.csdn.net/fableking/archive/2009/03/01/3948041.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/fableking/archive/2009/03/01/3948041.aspx</guid><dc:creator>欣水寓言</dc:creator></item></channel></rss>