<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/herrapfel" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/herrapfel" type="application/rss+xml"></fs:self_link><lastBuildDate>Thu, 04 Feb 2010 05:36:00 GMT</lastBuildDate><title>Herr Apfel的专栏</title><description>玉不琢，不成器；人不学，不知道。是故古之王者，建国君民，教学为先。</description><link>http://blog.csdn.net/blogrss.aspx?username=herrapfel</link><item><title>unix环境变量的设置方法</title><link>http://blog.csdn.net/herrapfel/archive/2010/02/04/5288089.aspx</link><description>&lt;br /&gt;vi ~/.bashrc&lt;br /&gt;vi /etc/profile&lt;br /&gt;cd ~/ (home dir)&lt;br /&gt;vi .profile&lt;br /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/329420280/herrapfel/csdn.net/s.gif?r=http://blog.csdn.net/herrapfel/archive/2010/02/04/5288089.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/herrapfel/329420280/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/herrapfel/329420280/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 04 Feb 2010 13:36:00 +0800</pubDate><author>Herr Apfel</author><guid isPermaLink="false">http://blog.csdn.net/herrapfel/archive/2010/02/04/5288089.aspx</guid><dc:creator>Herr Apfel</dc:creator><fs:srclink>http://blog.csdn.net/herrapfel/archive/2010/02/04/5288089.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/herrapfel/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/herrapfel/~1071926/329420280/1071925</fs:itemid></item><item><title>Shell 比较运算</title><link>http://blog.csdn.net/herrapfel/archive/2010/02/03/5286711.aspx</link><description>shell字符串比较、判断是否为数字 &lt;br /&gt;二元比较操作符,比较变量或者比较数字.注意数字与字符串的区别.&lt;br /&gt;&lt;br /&gt;整数比较&lt;br /&gt;&lt;br /&gt;-eq       等于,如:if [ &quot;$a&quot; -eq &quot;$b&quot; ]&lt;br /&gt;-ne       不等于,如:if [ &quot;$a&quot; -ne &quot;$b&quot; ]&lt;br /&gt;-gt       大于,如:if [ &quot;$a&quot; -gt &quot;$b&quot; ]&lt;br /&gt;-ge       大于等于,如:if [ &quot;$a&quot; -ge &quot;$b&quot; ]&lt;br /&gt;-lt       小于,如:if [ &quot;$a&quot; -lt &quot;$b&quot; ]&lt;br /&gt;-le       小于等于,如:if [ &quot;$a&quot; -le &quot;$b&quot; ]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&gt;       大于(需要双括号),如:((&quot;$a&quot; &gt; &quot;$b&quot;))&lt;br /&gt;&gt;=       大于等于(需要双括号),如:((&quot;$a&quot; &gt;= &quot;$b&quot;)&lt;img src=&quot;http://www1.feedsky.com/t1/329227959/herrapfel/csdn.net/s.gif?r=http://blog.csdn.net/herrapfel/archive/2010/02/03/5286711.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/herrapfel/329227959/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/herrapfel/329227959/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Wed, 03 Feb 2010 22:48:00 +0800</pubDate><author>Herr Apfel</author><guid isPermaLink="false">http://blog.csdn.net/herrapfel/archive/2010/02/03/5286711.aspx</guid><dc:creator>Herr Apfel</dc:creator><fs:srclink>http://blog.csdn.net/herrapfel/archive/2010/02/03/5286711.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/herrapfel/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/herrapfel/~1071926/329227959/1071925</fs:itemid></item><item><title>contentType 'text/xml; charset=UTF-8' conflicts问题</title><link>http://blog.csdn.net/herrapfel/archive/2010/01/21/5219743.aspx</link><description>&lt;br /&gt;&lt;br /&gt;Resin升级到3.1.3后，有同事发现原来在Resin 3.0.xx下成功运行的部分jsp文件(输出xml格式文件)编译出错： &lt;br /&gt;1&lt;br /&gt;2&lt;br /&gt;3&lt;br /&gt;4&lt;br /&gt;5&lt;br /&gt;6&lt;br /&gt;7&lt;br /&gt;500 Servlet Exception
XXXXX.jsp:1: contentType 'text/xml; charset=UTF-8'
conflicts with previous value of contentType 'text/html; charset=UTF-8'.
Check the .jsp and any included .jsp files for conflicts.
 
1:  &lt;%@ page language=&quot;java&quot; contentType=&quot;text/xml; charset=UTF-8&quot; %&gt;
2:  &lt;%@ page 
&lt;br /&gt;&lt;br /&gt;经反复测试，发现是文件格式问题。 &lt;br /&gt;&lt;br /&gt;解决方法： &lt;br /&gt;&lt;br /&gt;用UltraEdit编辑&lt;img src=&quot;http://www1.feedsky.com/t1/329227960/herrapfel/csdn.net/s.gif?r=http://blog.csdn.net/herrapfel/archive/2010/01/21/5219743.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/herrapfel/329227960/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/herrapfel/329227960/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 21 Jan 2010 11:10:00 +0800</pubDate><author>Herr Apfel</author><guid isPermaLink="false">http://blog.csdn.net/herrapfel/archive/2010/01/21/5219743.aspx</guid><dc:creator>Herr Apfel</dc:creator><fs:srclink>http://blog.csdn.net/herrapfel/archive/2010/01/21/5219743.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/herrapfel/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/herrapfel/~1071926/329227960/1071925</fs:itemid></item><item><title>SQL教程简明教程</title><link>http://blog.csdn.net/herrapfel/archive/2009/12/14/5004173.aspx</link><description>&lt;br /&gt;SQL语言由命令、子句、运算和集合函数等构成。在SQL中，数据定义语言DDL（用来建立及定义数据表、字段以及索引等数据库结构）包含的命令有 create、drop、alter；数据操纵语言DML（用来提供数据的查询、排序以及筛选数据等功能）包含的命令有select、insert、 update、delete。&lt;br /&gt;一、SQL语句&lt;br /&gt;（1）select 查询语句&lt;br /&gt;语法：select [ALL|DISTINCT]  [AS 列名]&lt;br /&gt;[, [AS 列名] ...] FROM  [，…]&lt;br /&gt;[where  [AND|OR ...]&lt;br /&gt;[GROUP BY 列名 [HAVING ]]&lt;br /&gt;[ORDER BY 列名 [ASC | DESC]] &lt;br /&gt;解释：[ALL|DISTINCT] ALL：全部； DISTINCT：不包括重复行&lt;br /&gt; 对字段可使用AVG、COUNT、SUM、MIN、MAX、运算符等&lt;br /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/329227961/herrapfel/csdn.net/s.gif?r=http://blog.csdn.net/herrapfel/archive/2009/12/14/5004173.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/herrapfel/329227961/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/herrapfel/329227961/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 14 Dec 2009 14:37:00 +0800</pubDate><author>Herr Apfel</author><guid isPermaLink="false">http://blog.csdn.net/herrapfel/archive/2009/12/14/5004173.aspx</guid><dc:creator>Herr Apfel</dc:creator><fs:srclink>http://blog.csdn.net/herrapfel/archive/2009/12/14/5004173.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/herrapfel/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/herrapfel/~1071926/329227961/1071925</fs:itemid></item><item><title>实现js的replaceAll方法</title><link>http://blog.csdn.net/herrapfel/archive/2009/12/08/4963582.aspx</link><description>js不提供replaceAll方法，要用正规表达式实现 &lt;br /&gt;第一种: String.prototype.replaceAll  = function(s1,s2){       return this.replace(new RegExp(s1,&quot;gm&quot;),s2);       }     第二种:str =str.replace(/&amp;/g,&quot;@&quot;);//将str串中的&amp;替换成@  &lt;img src=&quot;http://www1.feedsky.com/t1/329227962/herrapfel/csdn.net/s.gif?r=http://blog.csdn.net/herrapfel/archive/2009/12/08/4963582.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/herrapfel/329227962/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/herrapfel/329227962/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 08 Dec 2009 13:21:00 +0800</pubDate><author>Herr Apfel</author><guid isPermaLink="false">http://blog.csdn.net/herrapfel/archive/2009/12/08/4963582.aspx</guid><dc:creator>Herr Apfel</dc:creator><fs:srclink>http://blog.csdn.net/herrapfel/archive/2009/12/08/4963582.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/herrapfel/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/herrapfel/~1071926/329227962/1071925</fs:itemid></item><item><title>js对按钮添加css样式</title><link>http://blog.csdn.net/herrapfel/archive/2009/12/07/4955652.aspx</link><description>&lt;br /&gt;firefox等可以使用&lt;br /&gt;var dom=document.getElementById(&quot;name&quot;); &lt;br /&gt;dom.setAttribute(&quot;style&quot;,&quot;width:10px;height:10px;border:solid 1px red;&quot;) ; &lt;br /&gt;&lt;br /&gt;IE中则必须使用style.cssText&lt;br /&gt;var dom=document.getElementById(&quot;name&quot;); &lt;br /&gt;dom1.style.cssText = &quot;width:10px;height:10px;border:solid 1px red;&quot;; &lt;br /&gt;补充一下，目前style.cssText类似innerHTML了，已经成为一个web开发的事实标准。因此测试显示firefox浏览器也支持这种方式。 &lt;br /&gt;本&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;另附按钮的几个CSS样式:&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/329227963/herrapfel/csdn.net/s.gif?r=http://blog.csdn.net/herrapfel/archive/2009/12/07/4955652.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/herrapfel/329227963/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/herrapfel/329227963/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 07 Dec 2009 12:07:00 +0800</pubDate><author>Herr Apfel</author><guid isPermaLink="false">http://blog.csdn.net/herrapfel/archive/2009/12/07/4955652.aspx</guid><dc:creator>Herr Apfel</dc:creator><fs:srclink>http://blog.csdn.net/herrapfel/archive/2009/12/07/4955652.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/herrapfel/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/herrapfel/~1071926/329227963/1071925</fs:itemid></item><item><title>java GB转 UTF-8字符</title><link>http://blog.csdn.net/herrapfel/archive/2009/12/04/4938521.aspx</link><description>&lt;br /&gt;import java.io.BufferedReader;&lt;br /&gt;import java.io.IOException;&lt;br /&gt;import java.io.InputStreamReader;&lt;br /&gt;public class GB2UTF &lt;br /&gt;{&lt;br /&gt; public static String GBK2Unicode(String str)&lt;br /&gt; {&lt;br /&gt;  StringBuffer result = new StringBuffer();&lt;br /&gt;  for (int i = 0; i &lt;br /&gt;  {&lt;br /&gt;   char chr1 = (char)str.charAt(i);&lt;br /&gt;   if(!isNeedConvert(chr1))&lt;br /&gt;   {&lt;br /&gt;    result.append(chr1); &lt;br /&gt;    continue;&lt;br /&gt;   }&lt;br /&gt;   result.append(&quot;&amp;#x&quot; + Integer.toHexString((&lt;img src=&quot;http://www1.feedsky.com/t1/329227964/herrapfel/csdn.net/s.gif?r=http://blog.csdn.net/herrapfel/archive/2009/12/04/4938521.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/herrapfel/329227964/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/herrapfel/329227964/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Fri, 04 Dec 2009 10:35:00 +0800</pubDate><author>Herr Apfel</author><guid isPermaLink="false">http://blog.csdn.net/herrapfel/archive/2009/12/04/4938521.aspx</guid><dc:creator>Herr Apfel</dc:creator><fs:srclink>http://blog.csdn.net/herrapfel/archive/2009/12/04/4938521.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/herrapfel/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/herrapfel/~1071926/329227964/1071925</fs:itemid></item><item><title>表格行变颜色</title><link>http://blog.csdn.net/herrapfel/archive/2009/12/01/4914528.aspx</link><description>&lt;br /&gt;通过判断是否为单数即可 &lt;br /&gt;然后设置下行的背景颜色就可以了&lt;br /&gt;&lt;br /&gt;if(i%2==1) row.style.background = &quot;#CCCCff&quot;;&lt;br /&gt;else row.style.background = &quot;#CCCCCC&quot;;&lt;img src=&quot;http://www1.feedsky.com/t1/329227965/herrapfel/csdn.net/s.gif?r=http://blog.csdn.net/herrapfel/archive/2009/12/01/4914528.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/herrapfel/329227965/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/herrapfel/329227965/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 01 Dec 2009 14:29:00 +0800</pubDate><author>Herr Apfel</author><guid isPermaLink="false">http://blog.csdn.net/herrapfel/archive/2009/12/01/4914528.aspx</guid><dc:creator>Herr Apfel</dc:creator><fs:srclink>http://blog.csdn.net/herrapfel/archive/2009/12/01/4914528.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/herrapfel/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/herrapfel/~1071926/329227965/1071925</fs:itemid></item><item><title>wml页面跳转的几种方式</title><link>http://blog.csdn.net/herrapfel/archive/2009/11/04/4767991.aspx</link><description> 1.2.3.&lt;img src=&quot;http://www1.feedsky.com/t1/329227966/herrapfel/csdn.net/s.gif?r=http://blog.csdn.net/herrapfel/archive/2009/11/04/4767991.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/herrapfel/329227966/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/herrapfel/329227966/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Wed, 04 Nov 2009 16:19:00 +0800</pubDate><author>Herr Apfel</author><guid isPermaLink="false">http://blog.csdn.net/herrapfel/archive/2009/11/04/4767991.aspx</guid><dc:creator>Herr Apfel</dc:creator><fs:srclink>http://blog.csdn.net/herrapfel/archive/2009/11/04/4767991.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/herrapfel/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/herrapfel/~1071926/329227966/1071925</fs:itemid></item><item><title>手机wap上网从wap网关接收到的各项信息的意义</title><link>http://blog.csdn.net/herrapfel/archive/2009/11/03/4762158.aspx</link><description>&lt;br /&gt; accept:text/x-vCard,application/smil,image/gif,text/plain,audio/x-midi,text/html,image/bmp,image/vnd.wap.wbmp,text/x-vCalendar,application/vnd.wap.wmlscriptc,application/vnd.phonecom.mmc-wbxml,audio/midi,audio/smaf,image/png,application/vnd.oma.drm.message,application/vnd.wap.mms-message,image/jpg,image/x-up-wpng,application/vnd.wap.multipart.related,application/octet-stream,application/vnd.wap.multipart.mixed,application/vnd.wap.coc,text/x-imelody,text/css,application/x-smaf,application/&lt;img src=&quot;http://www1.feedsky.com/t1/329227967/herrapfel/csdn.net/s.gif?r=http://blog.csdn.net/herrapfel/archive/2009/11/03/4762158.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/herrapfel/329227967/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/herrapfel/329227967/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 03 Nov 2009 14:21:00 +0800</pubDate><author>Herr Apfel</author><guid isPermaLink="false">http://blog.csdn.net/herrapfel/archive/2009/11/03/4762158.aspx</guid><dc:creator>Herr Apfel</dc:creator><fs:srclink>http://blog.csdn.net/herrapfel/archive/2009/11/03/4762158.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/herrapfel/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/herrapfel/~1071926/329227967/1071925</fs:itemid></item></channel></rss>