<?xml version="1.0" encoding="UTF-8"?>
<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:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>权记 &#187; 编程相关</title>
	<atom:link href="http://www.quanlei.com/category/technology/program/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.quanlei.com</link>
	<description>一个关于我们生活点滴的网站，一个记录我们酸甜苦辣的日志。</description>
	<lastBuildDate>Thu, 02 Feb 2012 06:37:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>通过Java的static，理解JavaScript的prototype</title>
		<link>http://www.quanlei.com/2011/12/java-static-help-understand-javascript-prototype/</link>
		<comments>http://www.quanlei.com/2011/12/java-static-help-understand-javascript-prototype/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 05:11:49 +0000</pubDate>
		<dc:creator>小权</dc:creator>
				<category><![CDATA[前端开发]]></category>
		<category><![CDATA[编程相关]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.quanlei.com/?p=2913</guid>
		<description><![CDATA[先看两段代码： Java 代码 JavaScript 代码 共性： 1、都是在构造方法之前就已经初始化了； 2、所有实例对象共享同一个变量；<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="再遇 java.util.ConcurrentModificationException" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F07%2F%25E5%2586%258D%25E9%2581%2587-java-util-concurrentmodificationexception%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fjava-static-help-understand-javascript-prototype%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">再遇 java.util.ConcurrentModificationException</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Java HTML 解析器：jsoup" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F08%2Fjava-html-parser-jsoup%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fjava-static-help-understand-javascript-prototype%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Java HTML 解析器：jsoup</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Java对象的浅拷贝和深拷贝" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F07%2Fjava%25E5%25AF%25B9%25E8%25B1%25A1%25E7%259A%2584%25E6%25B5%2585%25E6%258B%25B7%25E8%25B4%259D%25E5%2592%258C%25E6%25B7%25B1%25E6%258B%25B7%25E8%25B4%259D%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fjava-static-help-understand-javascript-prototype%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Java对象的浅拷贝和深拷贝</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="[09/51-52周主题] – Java Net and XML parser" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F12%2Fjava-net-and-xml-parser%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fjava-static-help-understand-javascript-prototype%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[09/51-52周主题] – Java Net and XML parser</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Java SE 6 新特性: JMX 与系统管理" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2008%2F03%2Fjava6_jmx%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fjava-static-help-understand-javascript-prototype%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Java SE 6 新特性: JMX 与系统管理</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>先看两段代码：</p>
<p class="btitle">Java 代码</p>
<pre class="brush: plain; title: ; notranslate">
public class Dog {
  public static final String type=&quot;golden retriever&quot;;

  public Dog(String name){
    System.out.println(name + &quot; is a &quot; + type + &quot; dog.&quot;);
  }

  public static void main(String[] args){
    Dog dog = new Dog(&quot;tom_1&quot;);
    dog = new Dog(&quot;tom_2&quot;);
  }
}
</pre>
<p class="btitle">JavaScript 代码</p>
<pre class="brush: plain; title: ; notranslate">
function Dog(name){
  alert(name+ &quot; is a &quot; + this.type +&quot; dog&quot;);
}

Dog.prototype.type=&quot;golden retriever&quot;;

var dog = new Dog(&quot;tom_1&quot;);
dog = new Dog(&quot;tom_2&quot;);
</pre>
<p class="btitle">共性：</p>
<p>1、都是在构造方法之前就已经初始化了；</p>
<p>2、所有实例对象共享同一个变量；</p>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fjava-static-help-understand-javascript-prototype%2F&title=%E9%80%9A%E8%BF%87Java%E7%9A%84static%EF%BC%8C%E7%90%86%E8%A7%A3JavaScript%E7%9A%84prototype" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="再遇 java.util.ConcurrentModificationException" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F07%2F%25E5%2586%258D%25E9%2581%2587-java-util-concurrentmodificationexception%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fjava-static-help-understand-javascript-prototype%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">再遇 java.util.ConcurrentModificationException</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Java HTML 解析器：jsoup" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F08%2Fjava-html-parser-jsoup%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fjava-static-help-understand-javascript-prototype%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Java HTML 解析器：jsoup</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Java对象的浅拷贝和深拷贝" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F07%2Fjava%25E5%25AF%25B9%25E8%25B1%25A1%25E7%259A%2584%25E6%25B5%2585%25E6%258B%25B7%25E8%25B4%259D%25E5%2592%258C%25E6%25B7%25B1%25E6%258B%25B7%25E8%25B4%259D%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fjava-static-help-understand-javascript-prototype%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Java对象的浅拷贝和深拷贝</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="[09/51-52周主题] – Java Net and XML parser" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F12%2Fjava-net-and-xml-parser%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fjava-static-help-understand-javascript-prototype%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[09/51-52周主题] – Java Net and XML parser</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Java SE 6 新特性: JMX 与系统管理" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2008%2F03%2Fjava6_jmx%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fjava-static-help-understand-javascript-prototype%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Java SE 6 新特性: JMX 与系统管理</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.quanlei.com/2011/12/java-static-help-understand-javascript-prototype/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>分享：jasperreport的il8n</title>
		<link>http://www.quanlei.com/2011/12/share-jasperreport-il8n/</link>
		<comments>http://www.quanlei.com/2011/12/share-jasperreport-il8n/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 06:37:53 +0000</pubDate>
		<dc:creator>小权</dc:creator>
				<category><![CDATA[编程相关]]></category>
		<category><![CDATA[iReport;jasperreports]]></category>

		<guid isPermaLink="false">http://www.quanlei.com/?p=2905</guid>
		<description><![CDATA[在jasperreport jar包的\net\sf\jasperreports\view\下面有很对viewer_*.properties的文件，这些文件就是默认的il8n文件，但是没有中文的。 那么就把里面某个文件，拽出来，重命名文件名为：viewer_zh_CN.properties 对应的键值对，可以自行更改，然后再把这个中文i18n文件加入到jar包中即可。如下图所示： 中文需要做unicode转换，可以参考下方的demo：<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="net.sf.jasperreports.engine.JRRuntimeException: Unknown hyperlink target 0" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F09%2Fnet-sf-jasperreports-engine-jrruntimeexception-unknown-hyperlink-target-0%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fshare-jasperreport-il8n%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">net.sf.jasperreports.engine.JRRuntimeException: Unknown hyperlink target 0</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="终于完成了JasperReport的教程" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F07%2F%25E7%25BB%2588%25E4%25BA%258E%25E5%25AE%258C%25E6%2588%2590%25E4%25BA%2586jasperreport%25E7%259A%2584%25E6%2595%2599%25E7%25A8%258B%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fshare-jasperreport-il8n%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">终于完成了JasperReport的教程</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="net.sf.jasperreports.engine.util.JRFontNotFoundException: Font '黑体' is not available to the JVM" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F11%2Fnet-sf-jasperreports-engine-util-jrfontnotfoundexception-font-%25E9%25BB%2591%25E4%25BD%2593-is-not-available-to-the-jvm%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fshare-jasperreport-il8n%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">net.sf.jasperreports.engine.util.JRFontNotFoundException: Font '黑体' is not available to the JVM</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="彻底解决 utf-8 页面调用 gb2312 的js 显示乱码的问题" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F11%2F%25E5%25BD%25BB%25E5%25BA%2595%25E8%25A7%25A3%25E5%2586%25B3-utf-8-%25E9%25A1%25B5%25E9%259D%25A2%25E8%25B0%2583%25E7%2594%25A8-gb2312-%25E7%259A%2584js-%25E6%2598%25BE%25E7%25A4%25BA%25E4%25B9%25B1%25E7%25A0%2581%25E7%259A%2584%25E9%2597%25AE%25E9%25A2%2598%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fshare-jasperreport-il8n%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">彻底解决 utf-8 页面调用 gb2312 的js 显示乱码的问题</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Windows8 体验" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fwindows8-have-a-try%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fshare-jasperreport-il8n%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Windows8 体验</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>在jasperreport jar包的\net\sf\jasperreports\view\下面有很对viewer_*.properties的文件，这些文件就是默认的il8n文件，但是没有中文的。</p>
<p>那么就把里面某个文件，拽出来，重命名文件名为：viewer_zh_CN.properties</p>
<p>对应的键值对，可以自行更改，然后再把这个中文i18n文件加入到jar包中即可。如下图所示：</p>
<p><img src="http://pic.dbank.com/p0ywn4ph3t.png" alt="" /><br />
<span id="more-2905"></span><br />
中文需要做unicode转换，可以参考下方的demo：</p>
<pre class="brush: plain; title: ; notranslate">
save=\u4fdd\u5b58
print=\u6253\u5370
reload=\u5237\u65b0
first.page=\u9996\u9875
previous.page=\u4e0a\u4e00\u9875
next.page=\u4e0b\u4e00\u9875
last.page=\u6700\u540e\u4e00\u9875
go.to.page=\u8df3\u8f6c\u5230
actual.size=Actual Size
fit.page=Fit Page
fit.width=Fit Width
zoom.in=\u7f29\u5c0f
zoom.out=\u653e\u5927
zoom.ratio=\u653e\u5927\u500d\u6570
page=\u7b2c{0}\u9875,\u5171{1}\u9875
no.pages=The document has no pages.
error.saving=\u4fdd\u5b58\u6587\u4ef6\u65f6\u51fa\u9519.
error.printing=\u6253\u5370\u62a5\u8868\u65f6\u51fa\u9519.
error.loading=\u52a0\u8f7d\u6587\u4ef6\u65f6\u51fa\u9519.
error.hyperlink=\u94fe\u63a5\u6587\u4ef6\u65f6\u51fa\u9519. See the console for details.
error.displaying=\u663e\u793a\u95ee\u4ef7\u4f60\u662f\u51fa\u9519.
file.exists=\u6587\u4ef6 {0} \u5df2\u5b58\u5728. \u662f\u5426\u8986\u76d6\u003f
file.desc.csv=CSV (*.csv)
file.desc.xml=XML (*.jrpxml, *.xml)
file.desc.xml.embedded.images=Embedded images XML (*.jrpxml, *.xml)
file.desc.html=HTML (*.htm, *.html)
file.desc.xls.single.sheet=Single sheet XLS (*.xls)
file.desc.xls.multiple.sheets=Multiple sheets XLS (*.xls)
file.desc.odt=ODT (*.odt)
file.desc.pdf=PDF (*.pdf)
file.desc.rtf=RTF (*.rtf)
file.desc.docx=DOCX (*.docx)
file.desc.jrprint=JasperReports (*.jrprint)
</pre>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fshare-jasperreport-il8n%2F&title=%E5%88%86%E4%BA%AB%EF%BC%9Ajasperreport%E7%9A%84il8n" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="net.sf.jasperreports.engine.JRRuntimeException: Unknown hyperlink target 0" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F09%2Fnet-sf-jasperreports-engine-jrruntimeexception-unknown-hyperlink-target-0%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fshare-jasperreport-il8n%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">net.sf.jasperreports.engine.JRRuntimeException: Unknown hyperlink target 0</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="终于完成了JasperReport的教程" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F07%2F%25E7%25BB%2588%25E4%25BA%258E%25E5%25AE%258C%25E6%2588%2590%25E4%25BA%2586jasperreport%25E7%259A%2584%25E6%2595%2599%25E7%25A8%258B%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fshare-jasperreport-il8n%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">终于完成了JasperReport的教程</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="net.sf.jasperreports.engine.util.JRFontNotFoundException: Font '黑体' is not available to the JVM" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F11%2Fnet-sf-jasperreports-engine-util-jrfontnotfoundexception-font-%25E9%25BB%2591%25E4%25BD%2593-is-not-available-to-the-jvm%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fshare-jasperreport-il8n%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">net.sf.jasperreports.engine.util.JRFontNotFoundException: Font '黑体' is not available to the JVM</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="彻底解决 utf-8 页面调用 gb2312 的js 显示乱码的问题" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F11%2F%25E5%25BD%25BB%25E5%25BA%2595%25E8%25A7%25A3%25E5%2586%25B3-utf-8-%25E9%25A1%25B5%25E9%259D%25A2%25E8%25B0%2583%25E7%2594%25A8-gb2312-%25E7%259A%2584js-%25E6%2598%25BE%25E7%25A4%25BA%25E4%25B9%25B1%25E7%25A0%2581%25E7%259A%2584%25E9%2597%25AE%25E9%25A2%2598%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fshare-jasperreport-il8n%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">彻底解决 utf-8 页面调用 gb2312 的js 显示乱码的问题</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Windows8 体验" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fwindows8-have-a-try%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fshare-jasperreport-il8n%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Windows8 体验</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.quanlei.com/2011/12/share-jasperreport-il8n/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Caused by: org.hibernate.hql.ast.QuerySyntaxException: unexpected end of subtree</title>
		<link>http://www.quanlei.com/2011/12/caused-by-org-hibernate-hql-ast-querysyntaxexception-unexpected-end-of-subtree/</link>
		<comments>http://www.quanlei.com/2011/12/caused-by-org-hibernate-hql-ast-querysyntaxexception-unexpected-end-of-subtree/#comments</comments>
		<pubDate>Fri, 02 Dec 2011 09:30:24 +0000</pubDate>
		<dc:creator>小权</dc:creator>
				<category><![CDATA[编程相关]]></category>
		<category><![CDATA[Hibernate]]></category>

		<guid isPermaLink="false">http://www.quanlei.com/?p=2878</guid>
		<description><![CDATA[这是一个Hibernate bug，具体可以查看这里：https://hibernate.onjira.com/browse/HHH-2045，截止目前的状态还是Open。 通常是查询时 “in” 后面的集合为空时造成的。 比较简单的解决办法： 当集合为空时，给该空集合加入一个永远都不可能匹配上的值，让不为空。 还有另外一种稍简单办法就是拼接sql语句。<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="cannot simultaneously fetch multiple bags 问题的解决办法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2Fcannot-simultaneously-fetch-multiple-bags%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fcaused-by-org-hibernate-hql-ast-querysyntaxexception-unexpected-end-of-subtree%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">cannot simultaneously fetch multiple bags 问题的解决办法</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="看看什么叫不待见" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F02%2F%25E7%259C%258B%25E7%259C%258B%25E4%25BB%2580%25E4%25B9%2588%25E5%258F%25AB%25E4%25B8%258D%25E5%25BE%2585%25E8%25A7%2581%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fcaused-by-org-hibernate-hql-ast-querysyntaxexception-unexpected-end-of-subtree%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/02/26/2965426.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">看看什么叫不待见</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="累了，歇一歇" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fhave-a-rest-at-hls%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fcaused-by-org-hibernate-hql-ast-querysyntaxexception-unexpected-end-of-subtree%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/09/14/30806475.jpg" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">累了，歇一歇</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="WebOS版深度睡眠更新到 1.2.2" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F12%2Fwebos%25E7%2589%2588%25E6%25B7%25B1%25E5%25BA%25A6%25E7%259D%25A1%25E7%259C%25A0%25E6%259B%25B4%25E6%2596%25B0%25E5%2588%25B0-1-2-2%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fcaused-by-org-hibernate-hql-ast-querysyntaxexception-unexpected-end-of-subtree%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/01/21/2258253.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WebOS版深度睡眠更新到 1.2.2</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes: 通过 label 标签改进鼠标用户的可用性" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F07%2Fnotes-label-availability%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fcaused-by-org-hibernate-hql-ast-querysyntaxexception-unexpected-end-of-subtree%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/07/29/19877126.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes: 通过 label 标签改进鼠标用户的可用性</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>这是一个Hibernate bug，具体可以查看这里：<a href="https://hibernate.onjira.com/browse/HHH-2045">https://hibernate.onjira.com/browse/HHH-2045</a>，截止目前的状态还是Open。</p>
<p>通常是查询时 “in” 后面的集合为空时造成的。</p>
<p>比较简单的解决办法：</p>
<blockquote><p>
当集合为空时，给该空集合加入一个永远都不可能匹配上的值，让不为空。
</p></blockquote>
<p>还有另外一种稍简单办法就是拼接sql语句。</p>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fcaused-by-org-hibernate-hql-ast-querysyntaxexception-unexpected-end-of-subtree%2F&title=Caused+by%3A+org.hibernate.hql.ast.QuerySyntaxException%3A+unexpected+end+of+subtree" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="cannot simultaneously fetch multiple bags 问题的解决办法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2Fcannot-simultaneously-fetch-multiple-bags%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fcaused-by-org-hibernate-hql-ast-querysyntaxexception-unexpected-end-of-subtree%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">cannot simultaneously fetch multiple bags 问题的解决办法</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="腾讯和搜狐进行浏览器合作" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F03%2Fqq-sohu-browser-partner%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fcaused-by-org-hibernate-hql-ast-querysyntaxexception-unexpected-end-of-subtree%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/03/13/3464991.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">腾讯和搜狐进行浏览器合作</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="公司最近的小客人-祖玛" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2F%25E5%2585%25AC%25E5%258F%25B8%25E6%259C%2580%25E8%25BF%2591%25E7%259A%2584%25E5%25B0%258F%25E5%25AE%25A2%25E4%25BA%25BA-%25E7%25A5%2596%25E7%258E%259B%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fcaused-by-org-hibernate-hql-ast-querysyntaxexception-unexpected-end-of-subtree%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/01/21/2258480.jpg" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">公司最近的小客人-祖玛</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="快钱支付成功无法返回的问题" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F03%2F99bill-redirect-problem%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fcaused-by-org-hibernate-hql-ast-querysyntaxexception-unexpected-end-of-subtree%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/03/11/3423729.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">快钱支付成功无法返回的问题</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="图解CSS的padding,margin,border属性" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2008%2F03%2Fw3c_margin_padding%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fcaused-by-org-hibernate-hql-ast-querysyntaxexception-unexpected-end-of-subtree%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/01/21/2261780.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">图解CSS的padding,margin,border属性</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.quanlei.com/2011/12/caused-by-org-hibernate-hql-ast-querysyntaxexception-unexpected-end-of-subtree/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>net.sf.jasperreports.engine.util.JRFontNotFoundException: Font &#8216;黑体&#8217; is not available to the JVM</title>
		<link>http://www.quanlei.com/2011/11/net-sf-jasperreports-engine-util-jrfontnotfoundexception-font-%e9%bb%91%e4%bd%93-is-not-available-to-the-jvm/</link>
		<comments>http://www.quanlei.com/2011/11/net-sf-jasperreports-engine-util-jrfontnotfoundexception-font-%e9%bb%91%e4%bd%93-is-not-available-to-the-jvm/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 10:03:38 +0000</pubDate>
		<dc:creator>小权</dc:creator>
				<category><![CDATA[编程相关]]></category>
		<category><![CDATA[JasperReport]]></category>

		<guid isPermaLink="false">http://www.quanlei.com/?p=2873</guid>
		<description><![CDATA[有些系统可能没有黑体，那么只能继续使用默认字体，当然也可以考虑把黑体的字体文件加入classpath中 下面说一下使用默认字体： 开发 jasperreports-4.1.2.jar包，找到：default.jasperreports.properties 在这里修改jasperreports的默认字体设置 其中 是关键所在。 修改完再扔回包里，就可以了。<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="net.sf.jasperreports.engine.JRRuntimeException: Unknown hyperlink target 0" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F09%2Fnet-sf-jasperreports-engine-jrruntimeexception-unknown-hyperlink-target-0%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F11%2Fnet-sf-jasperreports-engine-util-jrfontnotfoundexception-font-%25E9%25BB%2591%25E4%25BD%2593-is-not-available-to-the-jvm%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">net.sf.jasperreports.engine.JRRuntimeException: Unknown hyperlink target 0</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="终于完成了JasperReport的教程" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F07%2F%25E7%25BB%2588%25E4%25BA%258E%25E5%25AE%258C%25E6%2588%2590%25E4%25BA%2586jasperreport%25E7%259A%2584%25E6%2595%2599%25E7%25A8%258B%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F11%2Fnet-sf-jasperreports-engine-util-jrfontnotfoundexception-font-%25E9%25BB%2591%25E4%25BD%2593-is-not-available-to-the-jvm%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">终于完成了JasperReport的教程</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="分享：jasperreport的il8n" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fshare-jasperreport-il8n%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F11%2Fnet-sf-jasperreports-engine-util-jrfontnotfoundexception-font-%25E9%25BB%2591%25E4%25BD%2593-is-not-available-to-the-jvm%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">分享：jasperreport的il8n</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="JTable Print" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Fjtable_print%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F11%2Fnet-sf-jasperreports-engine-util-jrfontnotfoundexception-font-%25E9%25BB%2591%25E4%25BD%2593-is-not-available-to-the-jvm%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">JTable Print</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="深入理解JVM" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F07%2Fdeep-understand-java-jvm%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F11%2Fnet-sf-jasperreports-engine-util-jrfontnotfoundexception-font-%25E9%25BB%2591%25E4%25BD%2593-is-not-available-to-the-jvm%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/07/29/19794411.jpg" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">深入理解JVM</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>有些系统可能没有黑体，那么只能继续使用默认字体，当然也可以考虑把黑体的字体文件加入classpath中</p>
<p>下面说一下使用默认字体：</p>
<p>开发 jasperreports-4.1.2.jar包，找到：default.jasperreports.properties<br />
在这里修改jasperreports的默认字体设置</p>
<pre class="brush: plain; title: ; notranslate">
# Font settings
net.sf.jasperreports.default.font.name=SansSerif
net.sf.jasperreports.default.font.size=10
net.sf.jasperreports.default.pdf.font.name=Helvetica
net.sf.jasperreports.default.pdf.encoding=Cp1252
net.sf.jasperreports.default.pdf.embedded=false
net.sf.jasperreports.awt.ignore.missing.font=false
</pre>
<p>其中</p>
<pre class="brush: plain; title: ; notranslate">
net.sf.jasperreports.awt.ignore.missing.font=true
</pre>
<p>是关键所在。</p>
<p>修改完再扔回包里，就可以了。</p>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F11%2Fnet-sf-jasperreports-engine-util-jrfontnotfoundexception-font-%25e9%25bb%2591%25e4%25bd%2593-is-not-available-to-the-jvm%2F&title=net.sf.jasperreports.engine.util.JRFontNotFoundException%3A+Font+%27%E9%BB%91%E4%BD%93%27+is+not+available+to+the+JVM" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="net.sf.jasperreports.engine.JRRuntimeException: Unknown hyperlink target 0" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F09%2Fnet-sf-jasperreports-engine-jrruntimeexception-unknown-hyperlink-target-0%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F11%2Fnet-sf-jasperreports-engine-util-jrfontnotfoundexception-font-%25E9%25BB%2591%25E4%25BD%2593-is-not-available-to-the-jvm%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">net.sf.jasperreports.engine.JRRuntimeException: Unknown hyperlink target 0</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="终于完成了JasperReport的教程" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F07%2F%25E7%25BB%2588%25E4%25BA%258E%25E5%25AE%258C%25E6%2588%2590%25E4%25BA%2586jasperreport%25E7%259A%2584%25E6%2595%2599%25E7%25A8%258B%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F11%2Fnet-sf-jasperreports-engine-util-jrfontnotfoundexception-font-%25E9%25BB%2591%25E4%25BD%2593-is-not-available-to-the-jvm%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">终于完成了JasperReport的教程</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="分享：jasperreport的il8n" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fshare-jasperreport-il8n%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F11%2Fnet-sf-jasperreports-engine-util-jrfontnotfoundexception-font-%25E9%25BB%2591%25E4%25BD%2593-is-not-available-to-the-jvm%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">分享：jasperreport的il8n</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="JTable Print" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Fjtable_print%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F11%2Fnet-sf-jasperreports-engine-util-jrfontnotfoundexception-font-%25E9%25BB%2591%25E4%25BD%2593-is-not-available-to-the-jvm%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">JTable Print</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="深入理解JVM" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F07%2Fdeep-understand-java-jvm%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F11%2Fnet-sf-jasperreports-engine-util-jrfontnotfoundexception-font-%25E9%25BB%2591%25E4%25BD%2593-is-not-available-to-the-jvm%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/07/29/19794411.jpg" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">深入理解JVM</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.quanlei.com/2011/11/net-sf-jasperreports-engine-util-jrfontnotfoundexception-font-%e9%bb%91%e4%bd%93-is-not-available-to-the-jvm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Querying @ElementCollections</title>
		<link>http://www.quanlei.com/2011/11/querying-elementcollections/</link>
		<comments>http://www.quanlei.com/2011/11/querying-elementcollections/#comments</comments>
		<pubDate>Thu, 03 Nov 2011 12:06:20 +0000</pubDate>
		<dc:creator>小权</dc:creator>
				<category><![CDATA[编程相关]]></category>
		<category><![CDATA[JPA]]></category>

		<guid isPermaLink="false">http://www.quanlei.com/?p=2861</guid>
		<description><![CDATA[在JPA 2.0中使用到注解 @ElementCollection 在@ElementCollection的属性中做查询 show sql：<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="[09/48周主题] – JPA" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2F0948-week-subject-jpa%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F11%2Fquerying-elementcollections%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/01/21/2258991.jpg" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[09/48周主题] – JPA</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="cannot simultaneously fetch multiple bags 问题的解决办法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2Fcannot-simultaneously-fetch-multiple-bags%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F11%2Fquerying-elementcollections%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">cannot simultaneously fetch multiple bags 问题的解决办法</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="周主题" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Fweek-subject%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F11%2Fquerying-elementcollections%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">周主题</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="[10/01周主题] – Web 项目开发中的常见问题" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F01%2F1001-week-subject-web-project-problems%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F11%2Fquerying-elementcollections%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[10/01周主题] – Web 项目开发中的常见问题</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="webOS豆瓣电影资讯更新到v1.2.2" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F01%2Fwebos%25E8%25B1%2586%25E7%2593%25A3%25E7%2594%25B5%25E5%25BD%25B1%25E8%25B5%2584%25E8%25AE%25AF%25E6%259B%25B4%25E6%2596%25B0%25E5%2588%25B0v1-2-2%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F11%2Fquerying-elementcollections%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/01/21/2257967.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">webOS豆瓣电影资讯更新到v1.2.2</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>在JPA 2.0中使用到注解 @ElementCollection</p>
<pre class="brush: plain; title: ; notranslate">
public class Budget extends IdEntity {

@ElementCollection(fetch = FetchType.EAGER)
@Column(name = &quot;projectLeaderIDs&quot;)
private List&lt;String&gt; projectLeaderIDs;
}
</pre>
<p>在@ElementCollection的属性中做查询</p>
<pre class="brush: plain; title: ; notranslate">
String sql = &quot;select count(b) from &quot; + Budget.class.getSimpleName()
                + &quot; b,IN (b.projectLeaderIDs) s where :userID in s&quot;;
</pre>
<p>show sql：</p>
<pre class="brush: plain; title: ; notranslate">
Hibernate:
    select
        count(budget0_.id) as col_0_0_
    from
        budget budget0_
    inner join
        Budget_projectLeaderIDs projectlea1_
            on budget0_.id=projectlea1_.Budget_id
    where
        ? in (
            projectlea1_.projectLeaderIDs
        ) limit ?
</pre>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F11%2Fquerying-elementcollections%2F&title=Querying+%40ElementCollections" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="[09/48周主题] – JPA" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2F0948-week-subject-jpa%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F11%2Fquerying-elementcollections%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/01/21/2258991.jpg" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[09/48周主题] – JPA</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="cannot simultaneously fetch multiple bags 问题的解决办法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2Fcannot-simultaneously-fetch-multiple-bags%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F11%2Fquerying-elementcollections%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">cannot simultaneously fetch multiple bags 问题的解决办法</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="周主题" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Fweek-subject%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F11%2Fquerying-elementcollections%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">周主题</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="[10/01周主题] – Web 项目开发中的常见问题" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F01%2F1001-week-subject-web-project-problems%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F11%2Fquerying-elementcollections%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[10/01周主题] – Web 项目开发中的常见问题</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Linux下QQ的新选择：WebQQ桌面化" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Fwebqq-desktop-integration%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F11%2Fquerying-elementcollections%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/01/21/2258354.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Linux下QQ的新选择：WebQQ桌面化</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.quanlei.com/2011/11/querying-elementcollections/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在对List做remove操作时抛出java.lang.UnsupportedOperationException</title>
		<link>http://www.quanlei.com/2011/10/%e5%9c%a8%e5%af%b9list%e5%81%9aremove%e6%93%8d%e4%bd%9c%e6%97%b6%e6%8a%9b%e5%87%bajava-lang-unsupportedoperationexception/</link>
		<comments>http://www.quanlei.com/2011/10/%e5%9c%a8%e5%af%b9list%e5%81%9aremove%e6%93%8d%e4%bd%9c%e6%97%b6%e6%8a%9b%e5%87%bajava-lang-unsupportedoperationexception/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 07:40:51 +0000</pubDate>
		<dc:creator>小权</dc:creator>
				<category><![CDATA[编程相关]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.quanlei.com/?p=2850</guid>
		<description><![CDATA[原因： 那个List是通过Arrays.asList()这个方法构造的，一直以为返回的就是一个ArrayList，今天查看了源码发现错了，是Arrays里面一个名叫ArrayList的私有类。 它也继承自AbstractList，只是没有实现remove方法，而AbstractList类中remove方法默认是抛java.lang.UnsupportedOperationException异常的。<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="再遇 java.util.ConcurrentModificationException" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F07%2F%25E5%2586%258D%25E9%2581%2587-java-util-concurrentmodificationexception%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2F%25E5%259C%25A8%25E5%25AF%25B9list%25E5%2581%259Aremove%25E6%2593%258D%25E4%25BD%259C%25E6%2597%25B6%25E6%258A%259B%25E5%2587%25BAjava-lang-unsupportedoperationexception%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">再遇 java.util.ConcurrentModificationException</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="通过Java的static，理解JavaScript的prototype" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fjava-static-help-understand-javascript-prototype%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2F%25E5%259C%25A8%25E5%25AF%25B9list%25E5%2581%259Aremove%25E6%2593%258D%25E4%25BD%259C%25E6%2597%25B6%25E6%258A%259B%25E5%2587%25BAjava-lang-unsupportedoperationexception%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">通过Java的static，理解JavaScript的prototype</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Java HTML 解析器：jsoup" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F08%2Fjava-html-parser-jsoup%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2F%25E5%259C%25A8%25E5%25AF%25B9list%25E5%2581%259Aremove%25E6%2593%258D%25E4%25BD%259C%25E6%2597%25B6%25E6%258A%259B%25E5%2587%25BAjava-lang-unsupportedoperationexception%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Java HTML 解析器：jsoup</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Java 文件对话框 默认保存到桌面" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F10%2Fjava-%25E6%2596%2587%25E4%25BB%25B6%25E5%25AF%25B9%25E8%25AF%259D%25E6%25A1%2586-%25E9%25BB%2598%25E8%25AE%25A4%25E4%25BF%259D%25E5%25AD%2598%25E5%2588%25B0%25E6%25A1%258C%25E9%259D%25A2%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2F%25E5%259C%25A8%25E5%25AF%25B9list%25E5%2581%259Aremove%25E6%2593%258D%25E4%25BD%259C%25E6%2597%25B6%25E6%258A%259B%25E5%2587%25BAjava-lang-unsupportedoperationexception%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Java 文件对话框 默认保存到桌面</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Install Java Plugin To Linux FireFox" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Finstall-java-plugin-to-linux-firefox%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2F%25E5%259C%25A8%25E5%25AF%25B9list%25E5%2581%259Aremove%25E6%2593%258D%25E4%25BD%259C%25E6%2597%25B6%25E6%258A%259B%25E5%2587%25BAjava-lang-unsupportedoperationexception%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Install Java Plugin To Linux FireFox</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p><strong>原因：</strong><br />
那个List是通过Arrays.asList()这个方法构造的，一直以为返回的就是一个ArrayList，今天查看了源码发现错了，是Arrays里面一个名叫ArrayList的私有类。</p>
<pre class="brush: plain; title: ; notranslate">
public class Arrays {
...
public static  List asList(T... a) {
	return new ArrayList(a);
}

private static class ArrayList extends AbstractList
	implements RandomAccess, java.io.Serializable
{
...
}
...
}
</pre>
<p>它也继承自AbstractList，只是没有实现remove方法，而AbstractList类中remove方法默认是抛java.lang.UnsupportedOperationException异常的。</p>
<pre class="brush: plain; title: ; notranslate">
public abstract class AbstractList&lt;E&gt; extends AbstractCollection&lt;E&gt; implements List&lt;E&gt; {
...
public E remove(int index) {
	throw new UnsupportedOperationException();
}
...
}
</pre>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2F%25e5%259c%25a8%25e5%25af%25b9list%25e5%2581%259aremove%25e6%2593%258d%25e4%25bd%259c%25e6%2597%25b6%25e6%258a%259b%25e5%2587%25bajava-lang-unsupportedoperationexception%2F&title=%E5%9C%A8%E5%AF%B9List%E5%81%9Aremove%E6%93%8D%E4%BD%9C%E6%97%B6%E6%8A%9B%E5%87%BAjava.lang.UnsupportedOperationException" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="再遇 java.util.ConcurrentModificationException" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F07%2F%25E5%2586%258D%25E9%2581%2587-java-util-concurrentmodificationexception%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2F%25E5%259C%25A8%25E5%25AF%25B9list%25E5%2581%259Aremove%25E6%2593%258D%25E4%25BD%259C%25E6%2597%25B6%25E6%258A%259B%25E5%2587%25BAjava-lang-unsupportedoperationexception%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">再遇 java.util.ConcurrentModificationException</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="通过Java的static，理解JavaScript的prototype" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fjava-static-help-understand-javascript-prototype%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2F%25E5%259C%25A8%25E5%25AF%25B9list%25E5%2581%259Aremove%25E6%2593%258D%25E4%25BD%259C%25E6%2597%25B6%25E6%258A%259B%25E5%2587%25BAjava-lang-unsupportedoperationexception%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">通过Java的static，理解JavaScript的prototype</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Java HTML 解析器：jsoup" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F08%2Fjava-html-parser-jsoup%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2F%25E5%259C%25A8%25E5%25AF%25B9list%25E5%2581%259Aremove%25E6%2593%258D%25E4%25BD%259C%25E6%2597%25B6%25E6%258A%259B%25E5%2587%25BAjava-lang-unsupportedoperationexception%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Java HTML 解析器：jsoup</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Java 文件对话框 默认保存到桌面" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F10%2Fjava-%25E6%2596%2587%25E4%25BB%25B6%25E5%25AF%25B9%25E8%25AF%259D%25E6%25A1%2586-%25E9%25BB%2598%25E8%25AE%25A4%25E4%25BF%259D%25E5%25AD%2598%25E5%2588%25B0%25E6%25A1%258C%25E9%259D%25A2%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2F%25E5%259C%25A8%25E5%25AF%25B9list%25E5%2581%259Aremove%25E6%2593%258D%25E4%25BD%259C%25E6%2597%25B6%25E6%258A%259B%25E5%2587%25BAjava-lang-unsupportedoperationexception%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Java 文件对话框 默认保存到桌面</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Install Java Plugin To Linux FireFox" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Finstall-java-plugin-to-linux-firefox%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2F%25E5%259C%25A8%25E5%25AF%25B9list%25E5%2581%259Aremove%25E6%2593%258D%25E4%25BD%259C%25E6%2597%25B6%25E6%258A%259B%25E5%2587%25BAjava-lang-unsupportedoperationexception%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Install Java Plugin To Linux FireFox</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.quanlei.com/2011/10/%e5%9c%a8%e5%af%b9list%e5%81%9aremove%e6%93%8d%e4%bd%9c%e6%97%b6%e6%8a%9b%e5%87%bajava-lang-unsupportedoperationexception/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cannot simultaneously fetch multiple bags 问题的解决办法</title>
		<link>http://www.quanlei.com/2011/10/cannot-simultaneously-fetch-multiple-bags/</link>
		<comments>http://www.quanlei.com/2011/10/cannot-simultaneously-fetch-multiple-bags/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 11:15:15 +0000</pubDate>
		<dc:creator>小权</dc:creator>
				<category><![CDATA[编程相关]]></category>
		<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[JPA]]></category>

		<guid isPermaLink="false">http://www.quanlei.com/?p=2817</guid>
		<description><![CDATA[完整的异常信息如下： 问题是什么时候出现的呢？ 当一个实体对象中包含多于一个non-lazy获取策略时，比如@OneToMany，@ManyToMany或者@ElementCollection时，获取策略为(fetch = FetchType.EAGER) 出现问题的原因： 当(fetch = FetchType.EAGER)多余一个时，持久框架抓取一方的对象时，同时又将多方的对象加载进容器中，多方又可能关联其它对象，Hibernate实现的JPA，默认最高抓取深度含本身级为四级(它有个属性配置是0-3),若多方(第二级)存在重复值，则第三级中抓取的值就无法映射，就会出现 multiple bags。 解决方法： 1、将(fetch = FetchType.EAGER)改为(fetch = FetchType.LAZY) 2、将List修改成Set集合，即推荐@ManyToMany或@OneToMany的Many方此时用Set容器来存放，而不用List集合。 3、改变FetchMode为@Fetch(FetchMode.SUBSELECT)，即发送另外一条select语句抓取前面查询到的所有实体对象的关联实体。 4、在对应的属性上添加@IndexColumn，该注解允许你指明存放索引值的字段，目的跟Set容器不允许重复元素的道理一样。 推荐的处理办法： 方法2; 方法3和方法4是Hibernate特有的，非JPA标准; 如果可以用方法1，那就不会出现这个问题。 参考： 1、http://blog.eyallupu.com/2010/06/hibernate-exception-simultaneously.html 2、http://dyldragon.iteye.com/blog/788385 3、http://howsun.blog.sohu.com/119020926.html<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="[09/48周主题] – JPA" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2F0948-week-subject-jpa%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2Fcannot-simultaneously-fetch-multiple-bags%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/01/21/2258991.jpg" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[09/48周主题] – JPA</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Caused by: org.hibernate.hql.ast.QuerySyntaxException: unexpected end of subtree" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fcaused-by-org-hibernate-hql-ast-querysyntaxexception-unexpected-end-of-subtree%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2Fcannot-simultaneously-fetch-multiple-bags%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Caused by: org.hibernate.hql.ast.QuerySyntaxException: unexpected end of subtree</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Querying @ElementCollections" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F11%2Fquerying-elementcollections%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2Fcannot-simultaneously-fetch-multiple-bags%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Querying @ElementCollections</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="周主题" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Fweek-subject%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2Fcannot-simultaneously-fetch-multiple-bags%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">周主题</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="[10/01周主题] – Web 项目开发中的常见问题" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F01%2F1001-week-subject-web-project-problems%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2Fcannot-simultaneously-fetch-multiple-bags%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[10/01周主题] – Web 项目开发中的常见问题</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p class="btitle">完整的异常信息如下：</p>
<pre class="brush: plain; title: ; notranslate">
org.hibernate.loader.MultipleBagFetchException: cannot simultaneously fetch multiple bags
	at org.hibernate.loader.BasicLoader.postInstantiate(BasicLoader.java:94)
	at org.hibernate.loader.entity.EntityLoader.&lt;init&gt;(EntityLoader.java:119)
	at org.hibernate.loader.entity.EntityLoader.&lt;init&gt;(EntityLoader.java:71)
	at org.hibernate.loader.entity.EntityLoader.&lt;init&gt;(EntityLoader.java:54)
	at org.hibernate.loader.entity.BatchingEntityLoader.createBatchingEntityLoader(BatchingEntityLoader.java:133)
	at org.hibernate.persister.entity.AbstractEntityPersister.createEntityLoader(AbstractEntityPersister.java:1914)
	at org.hibernate.persister.entity.AbstractEntityPersister.createEntityLoader(AbstractEntityPersister.java:1937)
	at org.hibernate.persister.entity.AbstractEntityPersister.createLoaders(AbstractEntityPersister.java:3205)
	at org.hibernate.persister.entity.AbstractEntityPersister.postInstantiate(AbstractEntityPersister.java:3191)
	at org.hibernate.impl.SessionFactoryImpl.&lt;init&gt;(SessionFactoryImpl.java:348)
	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1872)
	at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:906)
	at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:57)
	at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63)
</pre>
<p class="btitle">问题是什么时候出现的呢？</p>
<blockquote><p>当一个实体对象中包含多于一个non-lazy获取策略时，比如@OneToMany，@ManyToMany或者@ElementCollection时，获取策略为(fetch = FetchType.EAGER)
</p></blockquote>
<p><span id="more-2817"></span></p>
<p class="btitle">出现问题的原因：</p>
<blockquote><p>
当(fetch = FetchType.EAGER)多余一个时，持久框架抓取一方的对象时，同时又将多方的对象加载进容器中，多方又可能关联其它对象，Hibernate实现的JPA，默认最高抓取深度含本身级为四级(它有个属性配置是0-3),若多方(第二级)存在重复值，则第三级中抓取的值就无法映射，就会出现 multiple bags。
</p></blockquote>
<p class="btitle">解决方法：</p>
<blockquote><p>1、将(fetch = FetchType.EAGER)改为(fetch = FetchType.LAZY)</p></blockquote>
<blockquote><p>2、将List修改成Set集合，即推荐@ManyToMany或@OneToMany的Many方此时用Set容器来存放，而不用List集合。</p></blockquote>
<blockquote><p>3、改变FetchMode为@Fetch(FetchMode.SUBSELECT)，即发送另外一条select语句抓取前面查询到的所有实体对象的关联实体。</p></blockquote>
<blockquote><p>4、在对应的属性上添加@IndexColumn，该注解允许你指明存放索引值的字段，目的跟Set容器不允许重复元素的道理一样。</p></blockquote>
<p class="btitle">推荐的处理办法：</p>
<blockquote><p>方法2;</p>
<p>方法3和方法4是Hibernate特有的，非JPA标准;</p>
<p>如果可以用方法1，那就不会出现这个问题。</p></blockquote>
<p class="btitle">参考：</p>
<blockquote><p>1、http://blog.eyallupu.com/2010/06/hibernate-exception-simultaneously.html<br />
2、http://dyldragon.iteye.com/blog/788385<br />
3、http://howsun.blog.sohu.com/119020926.html</p></blockquote>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2Fcannot-simultaneously-fetch-multiple-bags%2F&title=cannot+simultaneously+fetch+multiple+bags+%E9%97%AE%E9%A2%98%E7%9A%84%E8%A7%A3%E5%86%B3%E5%8A%9E%E6%B3%95" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="[09/48周主题] – JPA" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2F0948-week-subject-jpa%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2Fcannot-simultaneously-fetch-multiple-bags%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/01/21/2258991.jpg" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[09/48周主题] – JPA</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Caused by: org.hibernate.hql.ast.QuerySyntaxException: unexpected end of subtree" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2Fcaused-by-org-hibernate-hql-ast-querysyntaxexception-unexpected-end-of-subtree%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2Fcannot-simultaneously-fetch-multiple-bags%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Caused by: org.hibernate.hql.ast.QuerySyntaxException: unexpected end of subtree</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Querying @ElementCollections" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F11%2Fquerying-elementcollections%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2Fcannot-simultaneously-fetch-multiple-bags%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Querying @ElementCollections</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="周主题" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Fweek-subject%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2Fcannot-simultaneously-fetch-multiple-bags%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">周主题</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="[10/01周主题] – Web 项目开发中的常见问题" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F01%2F1001-week-subject-web-project-problems%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2Fcannot-simultaneously-fetch-multiple-bags%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[10/01周主题] – Web 项目开发中的常见问题</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.quanlei.com/2011/10/cannot-simultaneously-fetch-multiple-bags/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在Swing中做更多web的事情</title>
		<link>http://www.quanlei.com/2011/09/swing-web-browser/</link>
		<comments>http://www.quanlei.com/2011/09/swing-web-browser/#comments</comments>
		<pubDate>Mon, 19 Sep 2011 12:37:37 +0000</pubDate>
		<dc:creator>小权</dc:creator>
				<category><![CDATA[编程相关]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Swing]]></category>
		<category><![CDATA[浏览器]]></category>

		<guid isPermaLink="false">http://www.quanlei.com/?p=2754</guid>
		<description><![CDATA[在Swing客户端中有时候想加载网页，Flash，甚至需要一个很不错的富文本编辑器，这些需求Swing本身没有，或者很弱，比如富文本的支持。 接下来给你介绍一个第三方的Library &#8211; DJNativeSwing 支持什么呢？ web浏览器支持，HTML、Javascript和Swing交互支持 常见的JS富文本编辑器，比如FCKeditor,Ckeditor,TinyMCE,Dirty indicator等 嵌套Flash 语法高亮 mediaPlay(Win32) 其他&#8230;<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Swing Nixieclock（原子钟）效果" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F01%2Fswing-nixieclock%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fswing-web-browser%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/01/21/2258436.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Swing Nixieclock（原子钟）效果</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Swing Table上的常用技巧" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F07%2Fswing-table%25E4%25B8%258A%25E7%259A%2584%25E5%25B8%25B8%25E7%2594%25A8%25E6%258A%2580%25E5%25B7%25A7%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fswing-web-browser%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Swing Table上的常用技巧</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Swing窗口Linux下不支持最大化问题" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F06%2Fswing%25E7%25AA%2597%25E5%258F%25A3linux%25E4%25B8%258B%25E4%25B8%258D%25E6%2594%25AF%25E6%258C%2581%25E6%259C%2580%25E5%25A4%25A7%25E5%258C%2596%25E9%2597%25AE%25E9%25A2%2598%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fswing-web-browser%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Swing窗口Linux下不支持最大化问题</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="[09/49周主题] – Swing Tips" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F12%2F0949-week-subject-swing%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fswing-web-browser%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[09/49周主题] – Swing Tips</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Opera浏览器HTML5体验版" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2012%2F01%2Fopera-html5-browser%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fswing-web-browser%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Opera浏览器HTML5体验版</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>在Swing客户端中有时候想加载网页，Flash，甚至需要一个很不错的富文本编辑器，这些需求Swing本身没有，或者很弱，比如富文本的支持。</p>
<p>接下来给你介绍一个第三方的Library &#8211; DJNativeSwing</p>
<p class="btitle">支持什么呢？</p>
<ul>
<li>web浏览器支持，HTML、Javascript和Swing交互支持</li>
<li>常见的JS富文本编辑器，比如FCKeditor,Ckeditor,TinyMCE,Dirty indicator等</li>
<li>嵌套Flash</li>
<li>语法高亮</li>
<li>mediaPlay(Win32)</li>
<li>其他&#8230;</li>
</ul>
<p><img src="http://dl.dbank.com/p0ri7z8un7" alt="DJNativeSwing" /><br />
<span id="more-2754"></span><br />
<img src="http://dl.dbank.com/p0lsc5hsma" alt="DJNativeSwing" /></p>
<p><img src="http://dl.dbank.com/p0l6b3b9ba" alt="DJNativeSwing" /></p>
<p><img src="http://dl.dbank.com/p0i92lgfqx" alt="DJNativeSwing" /></p>
<p><img src="http://dl.dbank.com/p0zm2a25vo" alt="DJNativeSwing" /></p>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fswing-web-browser%2F&title=%E5%9C%A8Swing%E4%B8%AD%E5%81%9A%E6%9B%B4%E5%A4%9Aweb%E7%9A%84%E4%BA%8B%E6%83%85" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Swing Nixieclock（原子钟）效果" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F01%2Fswing-nixieclock%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fswing-web-browser%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/01/21/2258436.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Swing Nixieclock（原子钟）效果</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Swing Table上的常用技巧" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F07%2Fswing-table%25E4%25B8%258A%25E7%259A%2584%25E5%25B8%25B8%25E7%2594%25A8%25E6%258A%2580%25E5%25B7%25A7%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fswing-web-browser%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Swing Table上的常用技巧</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Swing窗口Linux下不支持最大化问题" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F06%2Fswing%25E7%25AA%2597%25E5%258F%25A3linux%25E4%25B8%258B%25E4%25B8%258D%25E6%2594%25AF%25E6%258C%2581%25E6%259C%2580%25E5%25A4%25A7%25E5%258C%2596%25E9%2597%25AE%25E9%25A2%2598%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fswing-web-browser%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Swing窗口Linux下不支持最大化问题</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="[09/49周主题] – Swing Tips" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F12%2F0949-week-subject-swing%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fswing-web-browser%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[09/49周主题] – Swing Tips</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Opera浏览器HTML5体验版" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2012%2F01%2Fopera-html5-browser%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fswing-web-browser%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Opera浏览器HTML5体验版</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.quanlei.com/2011/09/swing-web-browser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>QuickNews for TouchPad</title>
		<link>http://www.quanlei.com/2011/09/quicknews-for-touchpad/</link>
		<comments>http://www.quanlei.com/2011/09/quicknews-for-touchpad/#comments</comments>
		<pubDate>Wed, 14 Sep 2011 08:23:41 +0000</pubDate>
		<dc:creator>小权</dc:creator>
				<category><![CDATA[互联网产品]]></category>
		<category><![CDATA[编程相关]]></category>
		<category><![CDATA[TouchPad]]></category>
		<category><![CDATA[webOS]]></category>

		<guid isPermaLink="false">http://www.quanlei.com/?p=2717</guid>
		<description><![CDATA[最近借了个TouchPad玩，但是说实在的中文应用严重缺乏啊，能玩的就是基于web浏览器的一些在线应用或者游戏，其他好玩的很少，再就是无法中文输入是个硬伤，在目前中文应用匮乏的情况下，在上面看新闻或许是个不错的事情，可惜App Catalog上面的新闻应用也基本上是国外的，国内的阅读类应用几乎没有。 于是就尝试着弄了这个QuickNews的新闻和RSS阅读应用，本来全是RSS的，后来无意找到了网易android版新闻客户端的新闻源，于是就挪了上来，也就是新闻部分的内容来自网易，其他RSS就是第三方找的。应用中的图片啥的也是从网上找的，都是免费版权的。<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="DoubanFM v1.0.0 for TouchPad 发布" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2Fdoubanfm-v1-0-0-for-touchpad-release%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fquicknews-for-touchpad%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/10/05/8603179.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">DoubanFM v1.0.0 for TouchPad 发布</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="胖鱼快讯 v1.1.2 for TouchPad" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fquicknews-for-touchpad-1-1-2-realse%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fquicknews-for-touchpad%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/09/28/8246553.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">胖鱼快讯 v1.1.2 for TouchPad</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="胖鱼快讯 v1.0.2 for TouchPad" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fquick-news-1-0-2-for-touchpad-release%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fquicknews-for-touchpad%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/09/22/33136126.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">胖鱼快讯 v1.0.2 for TouchPad</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="DoubanFM for TouchPad" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fdoubanfm-for-touchpad%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fquicknews-for-touchpad%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/09/30/8378975.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">DoubanFM for TouchPad</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="WebOS 深度睡眠 1.0 发布" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F11%2Fwebos-deep-sleep%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fquicknews-for-touchpad%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/01/21/2258300.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WebOS 深度睡眠 1.0 发布</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>最近借了个TouchPad玩，但是说实在的中文应用严重缺乏啊，能玩的就是基于web浏览器的一些在线应用或者游戏，其他好玩的很少，再就是无法中文输入是个硬伤，在目前中文应用匮乏的情况下，在上面看新闻或许是个不错的事情，可惜App Catalog上面的新闻应用也基本上是国外的，国内的阅读类应用几乎没有。</p>
<p>于是就尝试着弄了这个QuickNews的新闻和RSS阅读应用，本来全是RSS的，后来无意找到了网易android版新闻客户端的新闻源，于是就挪了上来，也就是新闻部分的内容来自网易，其他RSS就是第三方找的。应用中的图片啥的也是从网上找的，都是免费版权的。</p>
<p><img src="http://dl.dbank.com/p0ugcwtm9e" alt="QuickNews For TouchPad 1" /></p>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fquicknews-for-touchpad%2F&title=QuickNews+for+TouchPad" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="DoubanFM v1.0.0 for TouchPad 发布" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F10%2Fdoubanfm-v1-0-0-for-touchpad-release%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fquicknews-for-touchpad%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/10/05/8603179.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">DoubanFM v1.0.0 for TouchPad 发布</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="胖鱼快讯 v1.1.2 for TouchPad" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fquicknews-for-touchpad-1-1-2-realse%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fquicknews-for-touchpad%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/09/28/8246553.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">胖鱼快讯 v1.1.2 for TouchPad</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="胖鱼快讯 v1.0.2 for TouchPad" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fquick-news-1-0-2-for-touchpad-release%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fquicknews-for-touchpad%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/09/22/33136126.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">胖鱼快讯 v1.0.2 for TouchPad</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="DoubanFM for TouchPad" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fdoubanfm-for-touchpad%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fquicknews-for-touchpad%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/09/30/8378975.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">DoubanFM for TouchPad</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="WebOS 深度睡眠 1.0 发布" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F11%2Fwebos-deep-sleep%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F09%2Fquicknews-for-touchpad%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/01/21/2258300.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WebOS 深度睡眠 1.0 发布</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.quanlei.com/2011/09/quicknews-for-touchpad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Notes:ajaxForm上传文件，返回json，回调不到success的处理建议</title>
		<link>http://www.quanlei.com/2011/08/notes-ajaxform-upload-json-callback-success/</link>
		<comments>http://www.quanlei.com/2011/08/notes-ajaxform-upload-json-callback-success/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 10:41:02 +0000</pubDate>
		<dc:creator>小权</dc:creator>
				<category><![CDATA[前端开发]]></category>
		<category><![CDATA[技术]]></category>
		<category><![CDATA[编程相关]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[json]]></category>

		<guid isPermaLink="false">http://www.quanlei.com/?p=2699</guid>
		<description><![CDATA[把之前项目中头像上传的一个功能，改为ajaxForm回调success处理。 之前是先上传头像到服务器，然后再在另一个页面显示并通过jcrop剪辑，最终生成用户头像。 这个过程多了一步页面刷新，如果使用ajaxForm做异步文件提交，那么返回json数据直接处理，方便不少。 但是有一个问题那就是之前好多人遇到的问题，ajaxForm上传文件时，页面中的js无法回调success方法，导致出现下载框，昨天对这个问题深入做了测试，一般解决方式： 选对jquery版本和jform版本，并不是最新的版本都可以，推荐经测试肯定可以用的版本：jquery-1.5.1.min.js 和 jquery.form-2.67.js 如果出现下载框，可以尝试将服务器返回json的ContentType 改为text/html 使用struts-json插件的，可以如下设置： 直接在页面输出的，可以如下设置：<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="利用JSON插件进行数据交换格式(includeProperties和excludeProperties用法)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F06%2Fstruts2-json%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F08%2Fnotes-ajaxform-upload-json-callback-success%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">利用JSON插件进行数据交换格式(includeProperties和excludeProperties用法)</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="[09/50周主题] – JQuery入门" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F12%2F0950-week-subject-jquery%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F08%2Fnotes-ajaxform-upload-json-callback-success%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[09/50周主题] – JQuery入门</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="jQuery图像剪裁插件 – Jcrop" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F01%2Fjquery-plugh-jcrop%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F08%2Fnotes-ajaxform-upload-json-callback-success%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/01/21/2258473.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">jQuery图像剪裁插件 – Jcrop</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="[翻译] Simple Tooltip with jQuery &amp; CSS" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F10%2Fsimple-tooltip-with-jquery-css%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F08%2Fnotes-ajaxform-upload-json-callback-success%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/01/21/2258223.jpg" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[翻译] Simple Tooltip with jQuery &amp; CSS</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="[10/22 周主题] – 强悍的JQuery Validate 插件" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F06%2F1022-week-subject-jquery-validate-plugin%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F08%2Fnotes-ajaxform-upload-json-callback-success%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[10/22 周主题] – 强悍的JQuery Validate 插件</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>把之前项目中头像上传的一个功能，改为ajaxForm回调success处理。</p>
<p>之前是先上传头像到服务器，然后再在另一个页面显示并通过jcrop剪辑，最终生成用户头像。</p>
<p>这个过程多了一步页面刷新，如果使用ajaxForm做异步文件提交，那么返回json数据直接处理，方便不少。</p>
<p>但是有一个问题那就是之前好多人遇到的问题，ajaxForm上传文件时，页面中的js无法回调success方法，导致出现下载框，昨天对这个问题深入做了测试，一般解决方式：</p>
<ol>
<li>选对jquery版本和jform版本，并不是最新的版本都可以，推荐经测试肯定可以用的版本：jquery-1.5.1.min.js 和 jquery.form-2.67.js </li>
<li>如果出现下载框，可以尝试将服务器返回json的ContentType 改为text/html </li>
<blockquote><p>
使用struts-json插件的，可以如下设置：</p>
<pre class="brush: plain; title: ; notranslate">
&lt;result name=&quot;success&quot; type=&quot;json&quot;&gt;
    &lt;param name=&quot;contentType&quot;&gt;
           text/html
    &lt;/param&gt;
&lt;/result&gt;
</pre>
<p>直接在页面输出的，可以如下设置：</p>
<pre class="brush: plain; title: ; notranslate">
HttpServletResponse response = ServletActionContext.getResponse();
response.setContentType(&quot;text/html;charset=UTF-8&quot;);
</pre>
</blockquote>
</ol>
<p style="margin:0;padding:0;height:1px;overflow:hidden;">
    <script type="text/javascript"><!--
        var wumiiSitePrefix = "http://www.quanlei.com";
        var wumiiEnableCustomPos = false;
        var wumiiParams = "&#038;num=6&#038;mode=3&#038;displayInFeed=1&#038;version=1.0.5.5&#038;pf=WordPress3.3.1";
    //--></script><script type="text/javascript" src="http://widget.wumii.com/ext/relatedItemsWidget.htm"></script><a href="http://www.wumii.com/widget/relatedItems.htm" style="border:0;"><img src="http://static.wumii.com/images/pixel.png" alt="无觅相关文章插件，快速提升流量" style="border:0;padding:0;margin:0;" /></a></p>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F08%2Fnotes-ajaxform-upload-json-callback-success%2F&title=Notes%3AajaxForm%E4%B8%8A%E4%BC%A0%E6%96%87%E4%BB%B6%EF%BC%8C%E8%BF%94%E5%9B%9Ejson%EF%BC%8C%E5%9B%9E%E8%B0%83%E4%B8%8D%E5%88%B0success%E7%9A%84%E5%A4%84%E7%90%86%E5%BB%BA%E8%AE%AE" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="利用JSON插件进行数据交换格式(includeProperties和excludeProperties用法)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F06%2Fstruts2-json%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F08%2Fnotes-ajaxform-upload-json-callback-success%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">利用JSON插件进行数据交换格式(includeProperties和excludeProperties用法)</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="[09/50周主题] – JQuery入门" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F12%2F0950-week-subject-jquery%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F08%2Fnotes-ajaxform-upload-json-callback-success%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[09/50周主题] – JQuery入门</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="jQuery图像剪裁插件 – Jcrop" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F01%2Fjquery-plugh-jcrop%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F08%2Fnotes-ajaxform-upload-json-callback-success%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/01/21/2258473.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">jQuery图像剪裁插件 – Jcrop</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="[翻译] Simple Tooltip with jQuery &amp; CSS" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F10%2Fsimple-tooltip-with-jquery-css%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F08%2Fnotes-ajaxform-upload-json-callback-success%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/01/21/2258223.jpg" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[翻译] Simple Tooltip with jQuery &amp; CSS</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="[10/22 周主题] – 强悍的JQuery Validate 插件" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F06%2F1022-week-subject-jquery-validate-plugin%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F08%2Fnotes-ajaxform-upload-json-callback-success%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[10/22 周主题] – 强悍的JQuery Validate 插件</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.quanlei.com/2011/08/notes-ajaxform-upload-json-callback-success/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

