<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/patriotlml" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/patriotlml" type="application/rss+xml"></fs:self_link><lastBuildDate>Sat, 18 Aug 2007 14:32:00 GMT</lastBuildDate><title>Drink Drank Drunk</title><description>有人说他千杯不醉，我想是因为他没遇到心爱的人；在我家乡的那片麦田上，他不算一个会喝酒的人。</description><link>http://blog.csdn.net/patriotlml/</link><item><title>JAVAMAIL:解析正文简易算法</title><link>http://blog.csdn.net/patriotlml/archive/2007/08/18/1749587.aspx</link><wfw:comment>http://blog.csdn.net/patriotlml/comments/1749587.aspx</wfw:comment><slash:comments>2</slash:comments><wfw:commentRss>http://blog.csdn.net/patriotlml/comments/commentRss/1749587.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1749587</trackback:ping><description>javamail解析邮件的正文内容的简易算法.&lt;img src =&quot;http://blog.csdn.net/patriotlml/aggbug/1749587.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sat, 18 Aug 2007 22:32:00 +0800</pubDate><author>patriotlml</author><comments>http://blog.csdn.net/patriotlml/archive/2007/08/18/1749587.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/patriotlml/archive/2007/08/18/1749587.aspx</guid><dc:creator>patriotlml</dc:creator></item><item><title>故人相逢不相识---再遇中文乱码问题</title><link>http://blog.csdn.net/patriotlml/archive/2007/08/18/1749583.aspx</link><wfw:comment>http://blog.csdn.net/patriotlml/comments/1749583.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/patriotlml/comments/commentRss/1749583.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1749583</trackback:ping><description>自己也自认中文乱码问题解决专家了，从大学时开始写第一个jsp页面到现在，经历的乱码问题不胜其数，那些貌似解决了的问题总会在某个无聊的下午蹦出来，然后花费自己数小时的时间去调试，甚烦.&lt;img src =&quot;http://blog.csdn.net/patriotlml/aggbug/1749583.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sat, 18 Aug 2007 22:29:00 +0800</pubDate><author>patriotlml</author><comments>http://blog.csdn.net/patriotlml/archive/2007/08/18/1749583.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/patriotlml/archive/2007/08/18/1749583.aspx</guid><dc:creator>patriotlml</dc:creator></item><item><title>tomcat使用小记(简单总结)</title><link>http://blog.csdn.net/patriotlml/archive/2007/08/18/1749580.aspx</link><wfw:comment>http://blog.csdn.net/patriotlml/comments/1749580.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/patriotlml/comments/commentRss/1749580.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1749580</trackback:ping><description>tomcat使用小记(简单总结)
tomcat是非常流行的开源web容器,很多中小型网站都基于tomcat架起,我们公司的一些java软件(B/S模式的)好像都是轻量级架构,没有采用EJB,所以大部分应用应该也能正常地跑在tomcat下.&lt;img src =&quot;http://blog.csdn.net/patriotlml/aggbug/1749580.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sat, 18 Aug 2007 22:27:00 +0800</pubDate><author>patriotlml</author><comments>http://blog.csdn.net/patriotlml/archive/2007/08/18/1749580.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/patriotlml/archive/2007/08/18/1749580.aspx</guid><dc:creator>patriotlml</dc:creator></item><item><title>简单理解java.lang.IllegalStateException异常:简单分析和简单解决方案</title><link>http://blog.csdn.net/patriotlml/archive/2007/05/28/1628556.aspx</link><wfw:comment>http://blog.csdn.net/patriotlml/comments/1628556.aspx</wfw:comment><slash:comments>7</slash:comments><wfw:commentRss>http://blog.csdn.net/patriotlml/comments/commentRss/1628556.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1628556</trackback:ping><description>在JSP使用：
　　　　response.reset();
　　　　response.setContentType(”application/vnd.ms-excel”);
　　　　OutputStream os = response.getOutputStream();　　
抛出异常：
ERROR [Engine] StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
java.lang.IllegalStateException: getOutputStream() has already been called for this response
从网上找了下资料，综合一下原因分析：
这是web容器生成的servlet代码中有out.write(””)，这个和JSP中调用的response.getOutputStream()产生冲突.
即Servlet规范说明，不能既调用 response.getOutputStream()，又调用response.getWrit&lt;img src =&quot;http://blog.csdn.net/patriotlml/aggbug/1628556.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Tue, 29 May 2007 02:12:00 +0800</pubDate><author>patriotlml</author><comments>http://blog.csdn.net/patriotlml/archive/2007/05/28/1628556.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/patriotlml/archive/2007/05/28/1628556.aspx</guid><dc:creator>patriotlml</dc:creator></item><item><title>双排序:从算法的选择到问题求解</title><link>http://blog.csdn.net/patriotlml/archive/2007/05/24/1624078.aspx</link><wfw:comment>http://blog.csdn.net/patriotlml/comments/1624078.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/patriotlml/comments/commentRss/1624078.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1624078</trackback:ping><description>邮件有两种，已读的和未读的，要求未读在邮件列表的前面，已读的放在列表的后面;未读的和已读的邮件中要分别按日期的降序排序(越新的邮件越考前)，其中邮件信息在文件系统中，将从文件系统中读入的信息放在MailInfo javabean中，最

后要返回一个经过双排序规则排好序的列表List.
&lt;img src =&quot;http://blog.csdn.net/patriotlml/aggbug/1624078.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 24 May 2007 22:23:00 +0800</pubDate><author>patriotlml</author><comments>http://blog.csdn.net/patriotlml/archive/2007/05/24/1624078.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/patriotlml/archive/2007/05/24/1624078.aspx</guid><dc:creator>patriotlml</dc:creator></item><item><title>从java编码到截取给定宽度中英文混合字符串</title><link>http://blog.csdn.net/patriotlml/archive/2007/05/17/1612689.aspx</link><wfw:comment>http://blog.csdn.net/patriotlml/comments/1612689.aspx</wfw:comment><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/patriotlml/comments/commentRss/1612689.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1612689</trackback:ping><description>但如果是应用中要求我们截取&quot;固定回显长度&quot;的字符串回显到JSP页面,那应该怎么办呢?所谓&quot;固定回显长度&quot;是指一个区域纯英文能显示x个,纯中文能显示x/2个.假设一个JSP页面中,有个表格,其中一列宽度为13个纯英文字符,我们想显示主题,主题可以为中文或英文.如果我们简单地设定了取前13个字符,那么在英文情况下是没问题的,能正确显示截取的前13个.
但汉字呢?一个汉字要占两个英文的宽度的.所以取了13个汉字就超过了列的宽度,破坏了布局.
那取6个字符好了!
恩,这到是没破坏布局,但你不觉得英文的情况下浪费了一般的宽度么?
哦,那就不好办了,中英文混合的串确实麻烦...&lt;img src =&quot;http://blog.csdn.net/patriotlml/aggbug/1612689.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 17 May 2007 17:54:00 +0800</pubDate><author>patriotlml</author><comments>http://blog.csdn.net/patriotlml/archive/2007/05/17/1612689.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/patriotlml/archive/2007/05/17/1612689.aspx</guid><dc:creator>patriotlml</dc:creator></item><item><title>一道经典的面试题：如何从N个数中选出最大（小）的n个数？</title><link>http://blog.csdn.net/patriotlml/archive/2006/09/09/1199793.aspx</link><wfw:comment>http://blog.csdn.net/patriotlml/comments/1199793.aspx</wfw:comment><slash:comments>3</slash:comments><wfw:commentRss>http://blog.csdn.net/patriotlml/comments/commentRss/1199793.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1199793</trackback:ping><description>这个问题我前前后后考虑了有快一年了，也和不少人讨论过。据我得到的消息，Google和微软都面过这道题。这道题可能很多人都听说过，或者知道答案（所谓的“堆”），不过我想把我的答案写出来。我的分析也许存有漏洞，以交流为目的。但这是一个满复杂的问题，蛮有趣的。看完本文，也许会启发你一些没有想过的解决方案（我一直认为堆也许不是最高效的算法）。在本文中，将会一直以寻找n个最“大”的数为分析例子，以便统一。注：本文写得会比较细节一些，以便于绝大多数人都能看懂，别嫌我罗嗦:) 我很不确定多少人有耐心看完本文！&lt;img src =&quot;http://blog.csdn.net/patriotlml/aggbug/1199793.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sun, 10 Sep 2006 03:22:00 +0800</pubDate><author>patriotlml</author><comments>http://blog.csdn.net/patriotlml/archive/2006/09/09/1199793.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/patriotlml/archive/2006/09/09/1199793.aspx</guid><dc:creator>patriotlml</dc:creator></item><item><title>写给想做软件的大三表妹的一封信</title><link>http://blog.csdn.net/patriotlml/archive/2006/08/29/1136693.aspx</link><wfw:comment>http://blog.csdn.net/patriotlml/comments/1136693.aspx</wfw:comment><slash:comments>3</slash:comments><wfw:commentRss>http://blog.csdn.net/patriotlml/comments/commentRss/1136693.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1136693</trackback:ping><description>好象现在社会上的人给刚毕业的大学生贴了些tag,那就是:浮躁,不实用,眼高手低,不懂编程, 不懂软件,低水平...我觉得这是不对的.大学毕业生找工作难很大原因是个人因素,我想只要在大学里就能接触一些先进的或流行的(流行的不一定先进)技术,并不局限于老师教的课本知识,肯定也能在走向工作岗位后很快适应工作.特别是做软件开发.
       我刚毕业,现在在准备考研.因为大学学习的专业是信息管理与信息系统,或多或少地接触了一些软件开发的东西,自己也比较系统地学习了java基础课程,并尝试用java开发过几个简单的东西。刚毕业时因为找工作,接触很多软件开发公司,并在一个公司跟人做了数月的J2EE开发,对一个刚上大三要学软件方向的学生来说,我或许有资本简单的发表些自己的观点.但写得不好的地方,希望大家能多出点主意,少拍哈.
&lt;img src =&quot;http://blog.csdn.net/patriotlml/aggbug/1136693.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Tue, 29 Aug 2006 21:00:00 +0800</pubDate><author>patriotlml</author><comments>http://blog.csdn.net/patriotlml/archive/2006/08/29/1136693.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/patriotlml/archive/2006/08/29/1136693.aspx</guid><dc:creator>patriotlml</dc:creator></item><item><title>理发店问题的决策与仿真</title><link>http://blog.csdn.net/patriotlml/archive/2006/08/23/1108453.aspx</link><wfw:comment>http://blog.csdn.net/patriotlml/comments/1108453.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/patriotlml/comments/commentRss/1108453.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1108453</trackback:ping><description>这是我大二学过数据结构后做的课程设计，用的是C，并且当时做了些改进后没有再管，毕竟只是个100多行的小程序，没什么价值。后来看了个比较经典的，是软件水平考试程序员教材（蓝皮的，比较厚），在队列一章里面看到的。这里就是自己当时写的论文，比较粗糙，应该对理解本模拟算法有所帮助，有达人能指点下最好不过了。这种东西最好用C++写。C++的恐怕要用到面向对象的技术，否则和pure C的就没什么区别了。文末附上了网友改写的C++版，是BIT的邹斌同学完成的，在VC6下调试成功。&lt;img src =&quot;http://blog.csdn.net/patriotlml/aggbug/1108453.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Wed, 23 Aug 2006 19:50:00 +0800</pubDate><author>patriotlml</author><comments>http://blog.csdn.net/patriotlml/archive/2006/08/23/1108453.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/patriotlml/archive/2006/08/23/1108453.aspx</guid><dc:creator>patriotlml</dc:creator></item><item><title>经典递归求阶层改造</title><link>http://blog.csdn.net/patriotlml/archive/2006/08/19/1097658.aspx</link><wfw:comment>http://blog.csdn.net/patriotlml/comments/1097658.aspx</wfw:comment><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/patriotlml/comments/commentRss/1097658.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1097658</trackback:ping><description>当我们用经典算法求100的阶层时，这个程序就算改成用double类型声明n也会溢出的。怎么办呢？我们知道一个数n的阶层，要求n+1的阶层时，可以用我们做乘法时的方法：每一位分别乘以这个数，然后进位。这样我们可以想到把n的阶层按位存放在一个数组中，然后遍历数组按位乘，最后规格化（分别进位），保证做完的n+1的阶层仍然按位保存在那个数组中就可以了。

&lt;img src =&quot;http://blog.csdn.net/patriotlml/aggbug/1097658.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sun, 20 Aug 2006 05:48:00 +0800</pubDate><author>patriotlml</author><comments>http://blog.csdn.net/patriotlml/archive/2006/08/19/1097658.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/patriotlml/archive/2006/08/19/1097658.aspx</guid><dc:creator>patriotlml</dc:creator></item></channel></rss>