<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
  <channel>
    <title>老丁的Blog</title>
    <description></description>
    <link>http://jlusdy.javaeye.com</link>
    <language>UTF-8</language>
    <copyright>Copyright 2003-2008, JavaEye.com</copyright>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <generator>JavaEye - 做最棒的软件开发交流社区</generator>
          <item>
        <title>.NET Framework 3.5 中的功能简介</title>
        <author>jlusdy</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://jlusdy.javaeye.com">jlusdy</a>&nbsp;
                    链接：<a href="http://jlusdy.javaeye.com/blog/240547" style="color:red;">http://jlusdy.javaeye.com/blog/240547</a>&nbsp;
          发表时间: 2008年09月11日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          .NET Framework 3.5 = .NET Framework 3.0 + .NET Framework 3.0 SP1<br />.NET Framework 3.0 = .NET Framework 2.0 + .NET Framework 2.0 SP1 + WPF + WCF + WF + WCS<br /><br />下面略做相关简介，以便有个大致的认识：<br />.NET Framework 2.0<br /> - 公共语言运行库 (CLR)。<br /> - 对泛型类型和方法的支持。<br /> - C#、Visual Basic、C++ 和 J# 的编译器。<br /> - 基类库。<br /> - ADO.NET。<br /> - ASP.NET。<br /> - Windows 窗体。<br /> - Web 服务。<br /><br />NET Framework 2.0 SP 1:<br />&nbsp;&nbsp; 更新了 .NET Framework 2.0 附带的 CLR 和一些程序集，并可以独立于 .NET Framework 3.5 进行安装。对 .NET Framework 2.0 的大部分更新都不是重大更改，但也有少数几处地方添加了新的 API 元素或更改了行为，属于重大更改。如果应用程序依赖新的或更改的功能，则建议应用程序以 .NET Framework 3.5 作为目标。如果应用程序依赖于 .NET Framework 2.0 SP1 附带的更改，则可以让应用程序以 .NET Framework 2.0 为目标，并要求客户下载 .NET Framework 2.0 SP1。<br /><br />.NET Framework 3.0<br />&nbsp;&nbsp; .NET Framework 3.0 需要在计算机上安装 .NET Framework 2.0。如果用户在未安装 .NET Framework 2.0 的计算机上安装 .NET Framework 3.0，则会自动安装 .NET Framework 2.0。<br />&nbsp;&nbsp; 以下技术是随着 .NET Framework 3.0而 引入的新技术：<br /> - Windows Presentation Foundation (WPF)。<br /> - Windows Communications Foundation (WCF)。<br /> - Windows Workflow Foundation (WF)。<br /><br />NET Framework 3.0 SP 1<br />&nbsp;&nbsp;&nbsp; 它更新了 .NET Framework 3.0 附带的一些程序集，并可以独立于 .NET Framework 3.5 进行安装。更新的内容包括非重大更改、新的API 元素和针对 .NET Framework 3.0 附带的技术的附加功能。如果应用程序依赖于新功能，则建议应用程序以 .NET Framework 3.5 为目标。如果应用程序依赖于 .NET Framework 3.0 SP1 附带的更改，则可以让应用程序以 .NET Framework 3.0 为目标，并要求客户下载 .NET Framework 3.0 SP1。<br />&nbsp;&nbsp;&nbsp; 安装 .NET Framework 3.0 SP1 时，将会安装 .NET Framework 2.0 SP1（如果尚未安装在计算机上）。<br /><br />.NET Framework 3.5引入的新技术包括：<br /> - LINQ。<br /> - C#、Visual Basic 和 C++ 的新编译器。<br /> - ASP.NET AJAX。<br /> - 基类库中的附加类型。 <br /><br />再次强调：应用程序无论针对的是 .NET Framework 2.0、3.0 还是 3.5 版，都使用相同的程序集。
          <br/><br/>
          <span style="color:red;">
            <a href="http://jlusdy.javaeye.com/blog/240547#comments" style="color:red;">已有 <strong>0</strong> 人发表留言，猛击-&gt;&gt;<strong>这里</strong>&lt;&lt;-参与讨论</a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">Windows7在微软WinHEC 2008上揭开神秘面纱</span></a></li><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Thu, 11 Sep 2008 12:59:45 +0800</pubDate>
        <link>http://jlusdy.javaeye.com/blog/240547</link>
        <guid>http://jlusdy.javaeye.com/blog/240547</guid>
      </item>
          <item>
        <title>鲅鱼的主要做法</title>
        <author>jlusdy</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://jlusdy.javaeye.com">jlusdy</a>&nbsp;
                    链接：<a href="http://jlusdy.javaeye.com/blog/219251" style="color:red;">http://jlusdy.javaeye.com/blog/219251</a>&nbsp;
          发表时间: 2008年07月24日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          介绍一下鲅鱼的主要做法：<br /><br />一： 红烧鲅鱼段：<br /><br />主料：鲅鱼500克<br />辅料：猪肋条肉（五花肉）100克,香菇（鲜）50克,<br />调料：酱油15克,料酒15克,醋5克,白砂糖10克,盐3克,味精2克,胡椒粉1克,大葱15克,姜10克,大蒜（白皮）5克,淀粉(玉米)10克<br /><br />做法：<br /><br />1. 鲅鱼去头、尾，除内脏，刮去腹部白膜洗涤整理干净；<br />2. 在鱼身两侧剞“让指花刀”，剁段；<br />3. 鱼下入七成热油中炸至金黄色，倒入漏勺；<br />4. 猪五花肉切片；<br />5. 水发香菇洗净，抹刀切片备用；<br />6. 炒锅上火烧热，加底油，用葱、姜、蒜炝锅；<br />7. 下入肉片、香菇片煸炒；<br />8. 烹绍酒、醋，加入酱油、白糖、精盐，添汤烧开；<br />9. 下入炸好的鱿鱼段，移小火1曼烧至熟烂入味；<br />10. 加入味精、胡椒粉，拣去葱、姜，捞出鱼段；<br />11. 原汁用水淀粉勾芡，淋明油，出锅浇在盘中鲅鱼段上即可。<br /><br /><br />二：红烧鲅鱼：<br /><br />主料：鲅鱼600克<br />调料：大葱15克,姜10克,大蒜（白皮）5克,八角2克,植物油60克,盐5克,料酒15克,米醋10克,白砂糖10克,鸡精2克,啤酒15克,辣椒(红、尖、干)2克<br /><br />做法：<br /><br />1. 将鲅鱼清理干净，刮干净后切成鱼段；<br />2. 将锅烧热，倒入油(多倒些油)烧至七成热；<br />3. 将准备好的鱼段少量放入油中,煎成黄色即可，分四五次放入煎好；<br />4. 将煎好的鱼段全部放入锅中，倒入料酒，再倒入醋、糖，慢慢的翻匀；<br />5. 然后将葱段、蒜块，还有姜丝、红辣椒放入锅中，再放少许酱油；<br />6. 啤酒倒入锅中，将鱼浸透，如果没有酒，用水也可以；<br />7. 再放入盐，盖锅烧至水快干的时候，放入鸡精即可起锅。<br /><br /><br />三： 煎鲅鱼：<br /><br />主料：鲅鱼500克,土豆（黄皮）350克<br />辅料：鸡蛋200克,小麦面粉20克,<br />调料：盐4克,味精2克,胡椒粉3克,黄油8克,花生油40克<br /><br />做法：<br /><br />1. 鲅鱼宰杀干净，将肉洗净，斜刀切片，用胡椒粉、味精、精盐拌匀，腌渍10分钟左右，裹上一层面粉。<br />2. 鸡蛋磕入碗内搅匀。土豆洗净入锅煮熟，晾凉后去皮，切片。<br />3. 锅置火上，放入花生油烧热，鱼片拖匀鸡蛋糊放锅内，煎至两面呈金黄色，滗去余油，加黄油烹熟，起锅装盘，煮土豆切片放在盘内。<br /><br />提示：<br />掌握好煎的火候，嫩熟即可，不要过老。<br /><br /><br />四： 酸辣鲅鱼丸：<br /><br />主料：鲅鱼200克,猪肉(肥)100克<br />辅料：香菜30克,鸡蛋75克,<br />调料：葱汁10克,姜10克,花椒3克,盐3克,味精2克,胡椒粉1克,香油5克,醋5克<br /><br />特色： 鱼丸滑嫩，松软而有咬劲，汤鲜咸而酸辣，<br /><br />做法：<br /><br />1.鲅鱼精肉剁成细蓉，放盆中徐徐加葱姜汁、浸泡花椒的水，用力搅拌上劲，然后加肥肉末、鸡蛋、盐、味精、胡椒粉搅拌均匀。<br />2.锅中加高汤，将鱼馅下直径2厘米的小圆丸，用慢火将汤烧开，打去浮沫，待丸子氽熟后，加盐、味精、醋、胡椒粉、香油、香菜末即成。<br /><br /><br />五：炖鲅鱼<br /><br />主料：鲅鱼、蒜苔适量<br />辅料：葱、姜、八角、花椒<br />调料：花生油、盐、酱油、糖 <br /><br />做法：鲅鱼洗净切小段 锅里倒入花生油烧开放入葱、姜、八角、花椒爆出香味 放入鲅鱼段翻炒 倒入酱油继续翻炒上色均匀后加水 水要一次加足一般情况没过鲅鱼就行了 放糖和蒜苔后盖上锅盖大火炖开后改小火慢炖 等汁收的差不多了加盐关火就可以出锅了
          <br/><br/>
          <span style="color:red;">
            <a href="http://jlusdy.javaeye.com/blog/219251#comments" style="color:red;">已有 <strong>4</strong> 人发表留言，猛击-&gt;&gt;<strong>这里</strong>&lt;&lt;-参与讨论</a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">Windows7在微软WinHEC 2008上揭开神秘面纱</span></a></li><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Thu, 24 Jul 2008 22:52:13 +0800</pubDate>
        <link>http://jlusdy.javaeye.com/blog/219251</link>
        <guid>http://jlusdy.javaeye.com/blog/219251</guid>
      </item>
          <item>
        <title>学习计划</title>
        <author>jlusdy</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://jlusdy.javaeye.com">jlusdy</a>&nbsp;
                    链接：<a href="http://jlusdy.javaeye.com/blog/214832" style="color:red;">http://jlusdy.javaeye.com/blog/214832</a>&nbsp;
          发表时间: 2008年07月15日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          由于项目需要<br />近期打算学习一下<br />SPRING WEB SERVICES<br />SPRING WEB FLOW<br /><br />先做个记号
          <br/><br/>
          <span style="color:red;">
            <a href="http://jlusdy.javaeye.com/blog/214832#comments" style="color:red;">已有 <strong>0</strong> 人发表留言，猛击-&gt;&gt;<strong>这里</strong>&lt;&lt;-参与讨论</a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">Windows7在微软WinHEC 2008上揭开神秘面纱</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Tue, 15 Jul 2008 11:11:25 +0800</pubDate>
        <link>http://jlusdy.javaeye.com/blog/214832</link>
        <guid>http://jlusdy.javaeye.com/blog/214832</guid>
      </item>
          <item>
        <title>巧妙去除Word文档修订和批注帮助</title>
        <author>jlusdy</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://jlusdy.javaeye.com">jlusdy</a>&nbsp;
                    链接：<a href="http://jlusdy.javaeye.com/blog/213683" style="color:red;">http://jlusdy.javaeye.com/blog/213683</a>&nbsp;
          发表时间: 2008年07月10日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          注：因项目需要，转载一篇留用<br /><br />您从同事的电子邮件中收到一个文档，它对于您要制作的文档来说可能是一个很好的起点，于是您用新名称保存了它并按你的需要进行定制。您没有在意您的同事在原始文档中留的批注，因为在您的副本中没有看见它们。现在您准备把文档传递到客户手中，但是您要送给他们的是您最后的完成文档，而不是原始文档、同事的批注和您的更新的大杂烩。<br /><br />或者您使用了 Word 中的修订功能来保持跟踪您对简历所做的修改，现在您要把简历寄给可能的雇主。但是，请注意，他看到的应该是您的编辑结果，而不是您达成结果的思考过程。<br /><br />在这两种情况下，当接到文档的人报告说您的文档难以阅读，到处都是删除线、下划线和编上的批注框时，您可能感到很震惊。看!这就是您在简历中的目标陈述，还有三个带删除线的不同目标— 而您这一次要使用的目标却是用下划线文本显示的，您可能就得不到这份工作了。<br /><br />这些文本在您发送文档的时候并不在其中。Word 怎么会找到并显示这些内容的呢?要使 Word 的表现如您所愿，应该怎么做?<br /><br />理解修订功能<br /><br />可能您已经在 Word 中使用修订或批注功能，却没有意识到。通常在 Word 跟踪更改时，它会用删除线格式显示删除内容，而将插入内容显示为带下划线的文本。删除内容与插入内容— 以及批注(或“注释”)— 都可显示在页边上的批注框中。<br /><br />有各种方法可以隐藏修改或批注， 但使用修订功能所作的修改会一直打开，而所有插入的批注也一直是文档的一部分，直到它们被接受或拒绝(对于批注来说是删除)为止。<br /><br />注：关闭修订功能并不会从文档删除修订标记或批注。关闭修订会使您能修改文档而不存储插入内容与删除内容，以及将其显示为带删除线、下划线或批注框。<br /><br />我该如何除去修订?<br /><br />要除去修订和批注，您需要接受或拒绝更改，以及删除批注。这里就是方法:<br /><br />1.在“视图”菜单上，指向“工具栏”，然后单击“审阅”。<br /><br />2.在“审阅”工具栏上，单击“显示”，然后确保下列每个项目旁边都出现对勾:<br /><br />批注<br /><br />墨迹注释(仅 Word 2003 有)<br /><br />插入和删除<br /><br />正在格式化<br /><br />审阅者(指向“审阅者”，然后确保选中了“所有审阅者”。)<br /><br />如果有项目旁边未出现对勾，则单击该项目以选择它。<br /><br />3.在“审阅”工具栏上，单击“后一处修订或批注”从一处修订或批注前进到下一处。<br /><br />4.在“审阅”工具栏上，对每处修订或批注单击“接受修订”或“拒绝修订/删除批注”。<br /><br />重复步骤 3 和 4，直至接受或拒绝文档中所有修改并删除所有批注。<br /><br />注：如果您知道要接受所有更改，则单击“接受修订”旁边的箭头，然后单击“接受对文档所做的所有修订”。如果您知道要拒绝所有更改，则单击“拒绝修订/删除批注”旁边的箭头，然后单击“拒绝对文档所做的所有修订”。要除去所有批注，您必须删除它们。单击“拒绝修订/删除批注”旁边的箭头，然后单击“删除文档中的所有批注”。<br /><br />这些修订和批注怎么会在那里的?<br /><br />您可能以为已经除去了批注或修订，或者您可能从别人那里收到文档却没有意识到它包含批注或修订。Word 怎么会在您不知道的情况下存储了这些项目呢?<br /><br />您或发送文档的人可能隐藏了修订或批注。但是隐藏它们并不等于删除它们，它们还留在文档中。根据您的 Word 版本和所用的设置，修订或批注可能在您或别人打开文档时出现。<br /><br />如果您不希望别人看到修订或批注，请在与他人共享文档前接受或拒绝修订并删除批注。无论您使用什么版本的 Word 都应该这样，因为任何打开文档的人都可以很容易地显示现有修订或批注。<br /><br />注：如果您使用 Word 2003，则不太可能无意地分发包含修订标记和批注的文档，因为 Word 2003 默认情况下是显示修订与批注的。<br /><br />在哪里可以隐藏修订与批注<br /><br />有几种方法可以隐藏修订标记与批注，并可能导致您以为它们不在文档中。<br /><br />注： 要显示“审阅”工具栏，指向“视图”菜单上的“工具栏”，然后单击“审阅”。<br /><br />“显示以审阅”框 在“审阅”工具栏上，“显示以审阅”框为审阅文档提供了四个选项。如果您选择“最终状态”或“原始状态”，修订标记和批注会隐藏。要显示修订标记，请选择“显示标记的最终状态”或“显示标记的原始状态”。<br /><br />“显示”菜单 您可以通过在“审阅”工具栏上的“显示”菜单上关闭批注和修订来隐藏它们。在“显示”菜单上标有对勾的项目会显示，没有对勾的项目会隐藏。要显示如“插入和删除”之类的项目，请在“显示”菜单上选择它。<br /><br />隐藏标记的选项 在 Word 2003 中，“打开或保存时标记可见”选项可能关闭了。要打开该选项，单击“选项”(“工具”菜单)，然后在“安全性”选项卡上，选择“打开或保存时标记可见”复选框。<br /><br />为什么 Word 2003 默认情况下会显示修订和批注<br /><br />为了防止您在没有意识到文档中有修订标记和批注的情况下分发包含它们的文档，Word 2003 在默认情况下会显示修订标记和批注。Word 2003 实现了一个新选项“打开或保存时标记可见”，它在默认情况下是打开的。<br /><br />我可以两方面兼顾吗?<br /><br />如果您希望保留文档中的修订标记或批注，同时又希望共享文档而不让别人看见修订和批注，最好的解决办法就是保留文档的独立副本:一份用于分发，一份供自用。在文档的公用版本中，按本文所述接受或拒绝所有修订标记并删除所有批注。在文档的专用版本中，可以保留修订与批注。<br /><br /><br />再转换成 PDF 就可以了吧。
          <br/><br/>
          <span style="color:red;">
            <a href="http://jlusdy.javaeye.com/blog/213683#comments" style="color:red;">已有 <strong>0</strong> 人发表留言，猛击-&gt;&gt;<strong>这里</strong>&lt;&lt;-参与讨论</a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">Windows7在微软WinHEC 2008上揭开神秘面纱</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Thu, 10 Jul 2008 20:36:39 +0800</pubDate>
        <link>http://jlusdy.javaeye.com/blog/213683</link>
        <guid>http://jlusdy.javaeye.com/blog/213683</guid>
      </item>
          <item>
        <title>修改电影字幕时间轴实例代码</title>
        <author>jlusdy</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://jlusdy.javaeye.com">jlusdy</a>&nbsp;
                    链接：<a href="http://jlusdy.javaeye.com/blog/210289" style="color:red;">http://jlusdy.javaeye.com/blog/210289</a>&nbsp;
          发表时间: 2008年07月01日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          闲来无事，写了一段整体修改电影字幕时间轴的代码<br />如下：<br /><br /><pre name="code" class="java">
Date time = null;
Matcher matcher = null;
String line = null;
String replaceTime = null;
String originalTime = null;
//时间格式
String timeFormat = "HH:mm:ss,SSS";
//正则时间格式
String timeFormatRegex = "\\d\\d:\\d\\d:\\d\\d,\\d\\d\\d";
//读入字幕文件
BufferedReader input = new BufferedReader(new 
		InputStreamReader(new FileInputStream("D:/old.srt")));
//写入字幕文件
BufferedWriter out = new BufferedWriter(new 
		OutputStreamWriter(new FileOutputStream("D:/new.srt")));
//日历
Calendar calendar = Calendar.getInstance();
//格式化器
DateFormat dateFormat = new SimpleDateFormat(timeFormat);
Pattern pattern = Pattern.compile(timeFormatRegex);

while((line = input.readLine())!=null)
{	
	matcher = pattern.matcher(line);
	//找到匹配
	while(matcher.find()){
		originalTime = matcher.group();
		
		time = dateFormat.parse(originalTime);
		calendar.setTime(time);
		//秒字段 减三
		calendar.add(Calendar.SECOND, -3);
		
		replaceTime = dateFormat.format(calendar.getTime());
		//替换回原行
		line = line.replaceAll(originalTime, replaceTime);
		//清空
		calendar.clear();
	}
	//写回
	out.write(line);
	out.write("\r\n");
}
//回收
input.close();
out.close();
</pre>
          <br/><br/>
          <span style="color:red;">
            <a href="http://jlusdy.javaeye.com/blog/210289#comments" style="color:red;">已有 <strong>2</strong> 人发表留言，猛击-&gt;&gt;<strong>这里</strong>&lt;&lt;-参与讨论</a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">Windows7在微软WinHEC 2008上揭开神秘面纱</span></a></li><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Tue, 01 Jul 2008 20:59:10 +0800</pubDate>
        <link>http://jlusdy.javaeye.com/blog/210289</link>
        <guid>http://jlusdy.javaeye.com/blog/210289</guid>
      </item>
          <item>
        <title>JICE构造对象实例</title>
        <author>jlusdy</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://jlusdy.javaeye.com">jlusdy</a>&nbsp;
                    链接：<a href="http://jlusdy.javaeye.com/blog/209760" style="color:red;">http://jlusdy.javaeye.com/blog/209760</a>&nbsp;
          发表时间: 2008年06月30日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          具体应用请参看另一篇： JTestCase+JICE使用小结<a href="http://jlusdy.javaeye.com/blog/209755" target="_blank">http://jlusdy.javaeye.com/blog/209755</a><br /><br />JICE构造比较常见的对象实例如下：<br /><br />String<br /><pre name="code" class="java">
					&lt;param name="localFilePath" type="" use-jice="yes">
						&lt;jice>
							&lt;string class="java.lang.String" xmlns="http://www.jicengine.org/jic/2.0">
								C:/作成機能&lt;/string>
						&lt;/jice>
					&lt;/param>
</pre><br />Bean<br /><pre name="code" class="java">
&lt;param name="userInfo" type="" use-jice="yes">   
                        &lt;jice>   
                            &lt;bean xmlns="http://www.jicengine.org/jic/2.0" class="com.test.userInfoBean">   
                                &lt;userId class="java.lang.String">0000000001&lt;/userId>   
                                &lt;userName class="java.lang.String">USER_1&lt;/userName>   
                            &lt;/bean>   
                        &lt;/jice>   
                    &lt;/param>   

</pre><br />List<br /><pre name="code" class="java">
&lt;param name="subList" type="" use-jice="yes">
						&lt;jice>
					        &lt;container xmlns="http://www.jicengine.org/jic/2.0" 
				        		   class="java.util.List" type="container" instance="subdatas">
							  	&lt;subdatas class="java.util.ArrayList">
							                              &lt;bean action="parent.add(this)" xmlns="http://www.jicengine.org/jic/2.0" class="com.test.userInfoBean">   
                                &lt;userId class="java.lang.String">0000000001&lt;/userId>   
                                &lt;userName class="java.lang.String">USER_1&lt;/userName>   
                            &lt;/bean>   
			            &lt;bean action="parent.add(this)" xmlns="http://www.jicengine.org/jic/2.0" class="com.test.userInfoBean">   
                                &lt;userId class="java.lang.String">0000000002&lt;/userId>   
                                &lt;userName class="java.lang.String">USER_2&lt;/userName>   
                            &lt;/bean> 						&lt;/subdatas>
						  	&lt;/container>
					    &lt;/jice>
					&lt;/param>
</pre><br /><pre name="code" class="java">
&lt;list xmlns="http://www.jicengine.org/jic/2.1" class="java.util.ArrayList" type="list">
	&lt;e>1&lt;/e>
	&lt;e class="int">2&lt;/e>
	&lt;e>-3344&lt;/e>
	&lt;e class="int">-4&lt;/e>
&lt;/list>
</pre><br />Map<br /><pre name="code" class="java">
&lt;param name="reqMap" type="" use-jice="yes">
						&lt;jice>
							&lt;map xmlns="http://www.jicengine.org/jic/2.0" class="java.util.HashMap" type="map">
								&lt;entry action="put(key,value)">
									&lt;key class="java.lang.String">SR1&lt;/key>
    								&lt;value class="java.lang.String">SR1&lt;/value>
								&lt;/entry>
								&lt;entry action="put(key,value)">
									&lt;key class="java.lang.String">SR2&lt;/key>
    								&lt;value class="java.lang.String">SR2&lt;/value>
								&lt;/entry>
							&lt;/map>
						&lt;/jice>
					&lt;/param>
</pre><br />Date<br /><pre name="code" class="java">
&lt;updatedDate class="java.util.Date" instance="dateFormat.parse(dateString)">
											&lt;dateFormat class="java.text.SimpleDateFormat" args="cdata">yyyy/MM/dd HH:mm:ss.SSS&lt;/dateFormat>
											&lt;dateString>2008/06/02 10:27:27.607&lt;/dateString>
										&lt;/updatedDate>
</pre><br />String[]<br /><pre name="code" class="java">
&lt;sort class="java.lang.String[]" type="array">
						&lt;e class="java.lang.String">1.1.2&lt;/e>
			&lt;e class="java.lang.String">1.1.3&lt;/e>
						
&lt;/sort>
</pre>
          <br/><br/>
          <span style="color:red;">
            <a href="http://jlusdy.javaeye.com/blog/209760#comments" style="color:red;">已有 <strong>0</strong> 人发表留言，猛击-&gt;&gt;<strong>这里</strong>&lt;&lt;-参与讨论</a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">Windows7在微软WinHEC 2008上揭开神秘面纱</span></a></li><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Mon, 30 Jun 2008 14:36:40 +0800</pubDate>
        <link>http://jlusdy.javaeye.com/blog/209760</link>
        <guid>http://jlusdy.javaeye.com/blog/209760</guid>
      </item>
          <item>
        <title>JTestCase+JICE使用小结</title>
        <author>jlusdy</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://jlusdy.javaeye.com">jlusdy</a>&nbsp;
                    链接：<a href="http://jlusdy.javaeye.com/blog/209755" style="color:red;">http://jlusdy.javaeye.com/blog/209755</a>&nbsp;
          发表时间: 2008年06月30日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          JTestCase 是JUnit扩展，它使用XML文件来组织测试用例数据，包括初期值入口参数和期望结果（对DAO的测试结合DBUnit使用效果更好），能够使测试数据和测试代码分离。<br />JICE是基于XML文件构建和配置Java对象的工具，因为测试准备数据中经常会包含一些复杂对象，所以JTestCase增加了对JICE的支持用于生成这些对象。<br /><br />以下是官网的一点说明：<br />JTestCase is a 100% pure Java, open-source microframework that helps in separating test case data from test case units. <br />Jice is an (excellent) lightweight dependency injection framework now embedded into JTestCase.<br /><br />JICE is an XML-based Inversion of Control (IoC) Container - a tool for constructing and configuring application objects. JICE consists of:<br />&nbsp;&nbsp;&nbsp; * JIC Language - an XML format for describing the objects in a Java application.<br />&nbsp;&nbsp;&nbsp; * JIC Engine - A Java application that constructs graphs of Java objects based on the instructions the XML files.<br /><br />下面是一个实例：<br /><br />TestData.xml：<br /><pre name="code" class="java">
&lt;tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:noNamespaceSchemaLocation="http://jtestcase.sourceforge.net/dtd/jtestcase2.xsd">
	&lt;class name="Service02Impl">
		&lt;method name="getUserInfo">
			&lt;test-case name="001">
				&lt;params>
					&lt;param name="testCaseId" type="java.lang.String">J1_1_S_1&lt;/param>
					&lt;param name="userId" type="java.lang.String">0000000001&lt;/param>
					&lt;param name="userInfo" type="" use-jice="yes">
				    	&lt;jice>
				    		&lt;bean xmlns="http://www.jicengine.org/jic/2.0" class="com.test.userInfoBean">
					            &lt;userId class="java.lang.String">0000000001&lt;/userId>
					            &lt;userName class="java.lang.String">USER_1&lt;/userName>
					        &lt;/bean>
					    &lt;/jice>
				    &lt;/param>
				&lt;/params>
				&lt;asserts>
					&lt;assert name="returnValue" action="EQUALS" type="java.lang.String">TRUE&lt;/assert>
				&lt;/asserts>
			&lt;/test-case>
		&lt;/method>
	&lt;/class>
&lt;/tests>
</pre><br />Service02ImplTest.java<br /><pre name="code" class="java">
		jTestCase = new JTestCase("test/TestData.xml", "Service02Impl");
		String userId = null;
		userInfoBean actualUserInfo = null;
		userInfoBean expectUserInfo = null;
		final String METHOD = "getUserInfo";
		
		Vector testCases = jTestCase.getTestCasesInstancesInMethod(METHOD);

		for (int i = 0; i &lt; testCases.size(); i++) {

			TestCaseInstance testCase = (TestCaseInstance) testCases.elementAt(i);
			HashMap params = testCase.getTestCaseParams();

			userId = (String) params.get("userId");
			expectUserInfo = (userInfoBean) params.get("userInfo");
			
			actualUserInfo = service02Impl.getUserInfo(userId);
			
			Assert.assertEquals(expectUserInfo.getUserId(),actualUserInfo.getUserId());
			Assert.assertEquals(expectUserInfo.getUserName(),actualUserInfo.getUserName());
		}
	}
</pre><br /><br />JTestCase使用比较简单，下一篇介绍一下JICE的使用
          <br/><br/>
          <span style="color:red;">
            <a href="http://jlusdy.javaeye.com/blog/209755#comments" style="color:red;">已有 <strong>0</strong> 人发表留言，猛击-&gt;&gt;<strong>这里</strong>&lt;&lt;-参与讨论</a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">Windows7在微软WinHEC 2008上揭开神秘面纱</span></a></li><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Mon, 30 Jun 2008 14:17:31 +0800</pubDate>
        <link>http://jlusdy.javaeye.com/blog/209755</link>
        <guid>http://jlusdy.javaeye.com/blog/209755</guid>
      </item>
          <item>
        <title>只爱一点点</title>
        <author>jlusdy</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://jlusdy.javaeye.com">jlusdy</a>&nbsp;
                    链接：<a href="http://jlusdy.javaeye.com/blog/200330" style="color:red;">http://jlusdy.javaeye.com/blog/200330</a>&nbsp;
          发表时间: 2008年06月05日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          只爱一点点 <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 李敖<br />不爱那么多， <br /><br />只爱一点点， <br /><br />别人的爱情像海深， <br /><br />我的爱情浅。 <br /><br />不爱那么多， <br /><br />只爱一点点， <br /><br />别人的爱情像天长， <br /><br />我的爱情短。 <br /><br />不爱那么多， <br /><br />只爱一点点， <br /><br />别人眉来又眼去， <br /><br />我只偷看你一眼。
          <br/><br/>
          <span style="color:red;">
            <a href="http://jlusdy.javaeye.com/blog/200330#comments" style="color:red;">已有 <strong>0</strong> 人发表留言，猛击-&gt;&gt;<strong>这里</strong>&lt;&lt;-参与讨论</a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">Windows7在微软WinHEC 2008上揭开神秘面纱</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Thu, 05 Jun 2008 08:16:36 +0800</pubDate>
        <link>http://jlusdy.javaeye.com/blog/200330</link>
        <guid>http://jlusdy.javaeye.com/blog/200330</guid>
      </item>
          <item>
        <title>普鲁斯特问卷的28个问题</title>
        <author>jlusdy</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://jlusdy.javaeye.com">jlusdy</a>&nbsp;
                    链接：<a href="http://jlusdy.javaeye.com/blog/197433" style="color:red;">http://jlusdy.javaeye.com/blog/197433</a>&nbsp;
          发表时间: 2008年05月27日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          　　1.你认为最完美的快乐是怎样的？<br /><br />　　2.你最希望拥有哪种才华？<br /><br />　　3.你最恐惧的是什么？<br /><br />　　4.你目前的心境怎样？<br /><br />　　5.还在世的人中你最钦佩的是谁？<br /><br />　　6.你认为自己最伟大的成就是什么？<br /><br />　　7.你自己的哪个特点让你最觉得痛恨？<br /><br />　　8.你最喜欢的旅行是哪一次？<br /><br />　　9.你最痛恨别人的什么特点？<br /><br />　　10.你最珍惜的财产是什么？<br /><br />　　11.你最奢侈的是什么？<br /><br />　　12.你认为程度最浅的痛苦是什么？<br /><br />　　13.你认为哪种美德是被过高的评估的？<br /><br />　　14.你最喜欢的职业是什么？<br /><br />　　15.你对自己的外表哪一点不满意？<br /><br />　　16.你最后悔的事情是什么？<br /><br />　　17.还在世的人中你最鄙视的是谁？<br /><br />　　18.你最喜欢男性身上的什么品质？<br /><br />　　19.你使用过的最多的单词或者是词语是什么？<br /><br />　　20.你最喜欢女性身上的什么品质？<br /><br />　　21.你最伤痛的事是什么？<br /><br />　　22.你最看重朋友的什么特点？<br /><br />　　23.你这一生中最爱的人或东西是什么？<br /><br />　　24.你希望以什么样的方式死去？<br /><br />　　25.何时何地让你感觉到最快乐？<br /><br />　　26.如果你可以改变你的家庭一件事，那会是什么？<br /><br />　　27.如果你能选择的话，你希望让什么重现？<br /><br />　　28.你的座右铭是什么？<br /><br />有时间回答一下
          <br/><br/>
          <span style="color:red;">
            <a href="http://jlusdy.javaeye.com/blog/197433#comments" style="color:red;">已有 <strong>0</strong> 人发表留言，猛击-&gt;&gt;<strong>这里</strong>&lt;&lt;-参与讨论</a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">Windows7在微软WinHEC 2008上揭开神秘面纱</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Tue, 27 May 2008 14:07:21 +0800</pubDate>
        <link>http://jlusdy.javaeye.com/blog/197433</link>
        <guid>http://jlusdy.javaeye.com/blog/197433</guid>
      </item>
          <item>
        <title>下半年准备去影院看的电影</title>
        <author>jlusdy</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://jlusdy.javaeye.com">jlusdy</a>&nbsp;
                    链接：<a href="http://jlusdy.javaeye.com/blog/196923" style="color:red;">http://jlusdy.javaeye.com/blog/196923</a>&nbsp;
          发表时间: 2008年05月26日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          Harry Potter and the Half-Blood Prince / 哈利波特与混血王子<br />Daniel Radcliffe / Emma Watson / Rupert Grint / Tom Felton / 美国 / www.harrypotter.com / David Yates / 哈利波特与混血王子 / English<br />2008-11【全国】<br /><br />The Mummy: Tomb of the Dragon Emperor / The Mummy 3<br />Brenden Fraser / 李连杰 / 杨紫琼 / 美国 / 加拿大 / Rob Cohen / 木乃伊3 / Miles Millar / Alfred Gough / Lloyd Fonvielle / Kevin Jarre / 英语<br />2008-08-01【全國】；中文名：《木乃伊3：龙的诅咒》；英文原版/中文译制版；国内发行：【中影集团/华夏电影】<br /><br />赤壁 / 赤壁之战 / The Battle of Red Cliff<br />周润发 / 梁朝伟 / 林志玲 / 赵薇 / 中国 / 吴宇森 / 赤壁 / 罗贯中 / 邹静之 / 兰小龙 / 王蕙玲 / 芦苇 / 普通话<br />（上部》2008-07-10【全国】国内发行：【中影集团】<br /><br />Kung Fu Panda / 功夫熊猫<br />Jack Black / Jackie Chan / Lucy Liu / Angelina Jolie / Dustin Hoffman / Dan Fogler / Ian McShane / USA / Mark Osborne / John Stevenson / 功夫熊猫 / English<br />2008-06-20【全国】中文片名：《功夫熊猫》；英文原版/中文译制版；国内发行：【中影/华夏】
          <br/><br/>
          <span style="color:red;">
            <a href="http://jlusdy.javaeye.com/blog/196923#comments" style="color:red;">已有 <strong>1</strong> 人发表留言，猛击-&gt;&gt;<strong>这里</strong>&lt;&lt;-参与讨论</a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">Windows7在微软WinHEC 2008上揭开神秘面纱</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Mon, 26 May 2008 11:02:36 +0800</pubDate>
        <link>http://jlusdy.javaeye.com/blog/196923</link>
        <guid>http://jlusdy.javaeye.com/blog/196923</guid>
      </item>
          <item>
        <title>用正则表达式处理含双字节字符串的问题</title>
        <author>jlusdy</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://jlusdy.javaeye.com">jlusdy</a>&nbsp;
                    链接：<a href="http://jlusdy.javaeye.com/blog/195624" style="color:red;">http://jlusdy.javaeye.com/blog/195624</a>&nbsp;
          发表时间: 2008年05月22日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          在jdk1.4.2_01环境下<br />要匹配的字符串里含有的双字节（中文 日文）部分<br />例如<br /><pre name="code" class="java">
Pattern.compile("[^:]*");
</pre><br />匹配不为:的任意字符，完全不能匹配，出不来结果<br />解决办法：升级JDK 到jdk1.4.2_13<br />此为jdk1.4.2早期版本的一个bug
          <br/><br/>
          <span style="color:red;">
            <a href="http://jlusdy.javaeye.com/blog/195624#comments" style="color:red;">已有 <strong>0</strong> 人发表留言，猛击-&gt;&gt;<strong>这里</strong>&lt;&lt;-参与讨论</a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">Windows7在微软WinHEC 2008上揭开神秘面纱</span></a></li><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Thu, 22 May 2008 13:33:57 +0800</pubDate>
        <link>http://jlusdy.javaeye.com/blog/195624</link>
        <guid>http://jlusdy.javaeye.com/blog/195624</guid>
      </item>
          <item>
        <title>Word通配符查找详解（Wildcards）</title>
        <author>jlusdy</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://jlusdy.javaeye.com">jlusdy</a>&nbsp;
                    链接：<a href="http://jlusdy.javaeye.com/blog/189318" style="color:red;">http://jlusdy.javaeye.com/blog/189318</a>&nbsp;
          发表时间: 2008年05月04日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          Word Wildcards查找与通常的正则表达式查找有一些区别，正则表达式大家都比较熟悉，而且资料也很多，下面详细介绍一下Word Wildcards查找。<br />打开Word，选中Edit menu，点击Find or Replace，选中Use wildcards复选框。<br /><br />通配符使用规则如下：<br /><br /><span style="color: red">任意单个字符</span> <br />键入 ? <br />例如，s?t 可查找“sat”和“set”。 <br /><br /><span style="color: red">任意字符串</span> <br />键入 * <br />例如，s*d 可查找“sad”和“started”。 <br /><br /><span style="color: red">单词的开头</span> <br />键入 &lt; <br />例如，&lt;(inter) 查找“interesting”和“intercept”，但不查找“splintered”。 <br /><br /><span style="color: red">单词的结尾</span> <br />键入 > <br />例如，(in)> 查找“in”和“within”，但不查找“interesting”。 <br /><br /><span style="color: red">指定字符之一</span> <br />键入 [ ] <br />例如，w[io]n 查找“win”和“won”。 <br /><br /><span style="color: red">指定范围内任意单个字符</span> <br />键入 [-] <br />例如，[r-t]ight 查找“right”和“sight”。必须用升序来表示该范围。 <br /><br /><span style="color: red">中括号内指定字符范围以外的任意单个字符</span> <br />键入 [!x-z] <br />例如，t[!a-m]ck 查找“tock”和“tuck”，但不查找“tack”和“tick”。 <br /><br /><span style="color: red">n 个重复的前一字符或表达式</span> <br />键入 {n} <br />例如，fe{2}d 查找“feed”，但不查找“fed”。 <br /><br /><span style="color: red">至少 n 个前一字符或表达式</span> <br />键入 {n,} <br />例如，fe{1,}d 查找“fed”和“feed”。 <br /><br /><span style="color: red">n 到 m 个前一字符或表达式</span> <br />键入 {n,m} <br />例如，10{1,3} 查找“10”、“100”和“1000”。 <br /><br /><span style="color: red">一个以上的前一字符或表达式</span> <br />键入 @ <br />例如，lo@t 查找“lot”和“loot”。 <br /><br /><span style="color: red">特殊意义的字符</span><br />键入 \<br />例如，f[\?]t 查找“f?t”<br /><br /><span style="color: red">( )</span><br />对查询结果没有影响，是一个替换时分组的概念<br />例子：<br />用\2 \1替换(John) (Smith)，得到结果Smith John<br />即\1代表John，\2代表Smith<br /><br /><span style="color: red">^</span><br />特殊字符查询<br />Paragraph mark (¶)&nbsp; <br />Type ^p (doesn’t work in the Find what box when wildcards are on) <br /><br />Tab character (→) <br />Type ^t <br /><br />ANSI or ASCII characters <br />Type ^0nnn, where nnn is the character code <br /><br />Em dash ( — ) <br />Type ^+ <br /><br />En dash ( – ) <br />Type ^= <br /><br />Caret character <br />Type ^^ <br /><br />Manual line break (i) <br />Type ^l <br /><br />Column break <br />Type ^n <br /><br />Manual page break&nbsp; <br />Type ^m (also finds or replaces section breaks when wildcards are on) <br /><br />Nonbreaking space (°) <br />Type ^s&nbsp; <br /><br />Nonbreaking hyphen (-) <br />Type ^~&nbsp; <br /><br />Optional hyphen ({) <br />Type ^-&nbsp; <br /><br />Code that works in the Find what box only (when wildcards are on)<br />Graphic <br />Type ^g <br /><br />Codes that work in the Find what box only (when wildcards are off)<br />Any character <br />Type ^? <br /><br />Any digit <br />Type ^# <br /><br />Any letter&nbsp; <br />Type ^$ <br /><br />Footnote mark <br />Type ^f <br /><br />Endnote mark&nbsp; <br />Type ^e <br /><br />Field&nbsp; <br />Type ^d <br /><br />Section break <br />Type ^b <br /><br />White space&nbsp; <br />Type ^w (any combination of regular and nonbreaking spaces, and tab characters) <br /><br />Codes that work in the Replace with box only<br />Windows Clipboard contents <br />Type ^c <br /><br />Contents of the Find what box <br />Type ^&
          <br/><br/>
          <span style="color:red;">
            <a href="http://jlusdy.javaeye.com/blog/189318#comments" style="color:red;">已有 <strong>0</strong> 人发表留言，猛击-&gt;&gt;<strong>这里</strong>&lt;&lt;-参与讨论</a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">Windows7在微软WinHEC 2008上揭开神秘面纱</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Sun, 04 May 2008 14:05:49 +0800</pubDate>
        <link>http://jlusdy.javaeye.com/blog/189318</link>
        <guid>http://jlusdy.javaeye.com/blog/189318</guid>
      </item>
          <item>
        <title>java调用Excel中Replace的实现方法(jacob)</title>
        <author>jlusdy</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://jlusdy.javaeye.com">jlusdy</a>&nbsp;
                    链接：<a href="http://jlusdy.javaeye.com/blog/183005" style="color:red;">http://jlusdy.javaeye.com/blog/183005</a>&nbsp;
          发表时间: 2008年04月15日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          <pre name="code" class="java">
		ActiveXComponent activeXApp = null;
		File file = new File(localFilePath);

		try {
			activeXApp = new ActiveXComponent("Excel.Application");

			activeXApp.setProperty("Visible", new Variant(false));
			activeXApp.setProperty("DisplayAlerts", new Variant(false));

			Dispatch workbooks = activeXApp.getProperty("Workbooks")
					.toDispatch();

			Dispatch sheet = null;
			Dispatch sheets = null;
			Dispatch usedRange = null;

			Dispatch workbook = Dispatch.invoke(
					workbooks,
					"Open",
					Dispatch.Method,
					new Object[] { file.getAbsolutePath(),
							new Variant(false), new Variant(false) },
					new int[1]).toDispatch();

			Variant xlLookAt = new Variant(new Integer(2));

			Variant xlSearchOrder = new Variant(new Integer(1));

			Variant matchCase = new Variant(true);

			sheets = Dispatch.get(workbook, "Sheets").toDispatch();

			int count = Dispatch.get(sheets, "Count").getInt();
			for (int j = 1; j &lt;= count; j++) {

				sheet = Dispatch.invoke(sheets, "Item", Dispatch.Get,
						new Object[] { new Integer(j) }, new int[1])
						.toDispatch();

				usedRange = Dispatch.get(sheet, "UsedRange").toDispatch();

				Dispatch.invoke(usedRange, "Replace", Dispatch.Method,
						new Object[] { "originalCharacterString", "replaceCharacterString", xlLookAt, xlSearchOrder,
								matchCase }, new int[1]);

			}
			Dispatch.call(workbook, "Save");
			Dispatch.call(workbook, "Close", new Variant(false));

		} catch (Exception e) {
			throw e;
		} finally {
			if (activeXApp != null) {

				activeXApp.invoke("Quit", new Variant[] {});
			}

			ComThread.Release();
		}
</pre>
          <br/><br/>
          <span style="color:red;">
            <a href="http://jlusdy.javaeye.com/blog/183005#comments" style="color:red;">已有 <strong>0</strong> 人发表留言，猛击-&gt;&gt;<strong>这里</strong>&lt;&lt;-参与讨论</a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">Windows7在微软WinHEC 2008上揭开神秘面纱</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Tue, 15 Apr 2008 18:57:29 +0800</pubDate>
        <link>http://jlusdy.javaeye.com/blog/183005</link>
        <guid>http://jlusdy.javaeye.com/blog/183005</guid>
      </item>
          <item>
        <title>java调用Word中Replace的实现方法(jacob)</title>
        <author>jlusdy</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://jlusdy.javaeye.com">jlusdy</a>&nbsp;
                    链接：<a href="http://jlusdy.javaeye.com/blog/183004" style="color:red;">http://jlusdy.javaeye.com/blog/183004</a>&nbsp;
          发表时间: 2008年04月15日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          <pre name="code" class="java">
		ActiveXComponent activeXApp = null;
		File file = new File(localFilePath);

		try {

			activeXApp = new ActiveXComponent("Word.Application");

			activeXApp.setProperty("Visible", new Variant(false));

			Dispatch docs = activeXApp.getProperty("Documents").toDispatch();

			Dispatch doc = Dispatch.invoke(
					docs,
					"Open",
					Dispatch.Method,
					new Object[] { file.getAbsolutePath(),
							new Variant(false), new Variant(false) },
					new int[1]).toDispatch();

			Variant matchCase = new Variant(true);
			// 禁用通配符，下次写一篇介绍Word通配符查询的
			Variant matchWildcards = new Variant(false);

			Variant forward = new Variant(true);

			Variant matchWholeWord = new Variant(false);

			Variant matchSoundsLike = new Variant(false);

			Variant matchAllWordForms = new Variant(false);

			Variant format = new Variant(false);

			Variant wrap = new Variant(1);

			Variant replace = new Variant(2);
			// 也可以用Selection对象
			Dispatch content = Dispatch.get(doc, "Content").toDispatch();

			Dispatch finder = Dispatch.get(content, "Find").toDispatch();
			boolean rt = true;
			while (rt) {
				rt = Dispatch.invoke(
						finder,
						"Execute",
						Dispatch.Method,
						new Object[] { "originalCharacterString", matchCase, matchWholeWord,
								matchWildcards, matchSoundsLike,
								matchAllWordForms, forward, wrap, format, "replaceCharacterString",
								new Variant(true), replace }, new int[1])
						.getBoolean();
			}

			Dispatch.call(doc, "Save");
			Dispatch.call(doc, "Close", new Variant(false));

		} catch (Exception e) {
			throw e;
		} finally {
			if (activeXApp != null) {

				activeXApp.invoke("Quit", new Variant[] {});
			}

			ComThread.Release();
		}
</pre>
          <br/><br/>
          <span style="color:red;">
            <a href="http://jlusdy.javaeye.com/blog/183004#comments" style="color:red;">已有 <strong>0</strong> 人发表留言，猛击-&gt;&gt;<strong>这里</strong>&lt;&lt;-参与讨论</a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">Windows7在微软WinHEC 2008上揭开神秘面纱</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Tue, 15 Apr 2008 18:55:02 +0800</pubDate>
        <link>http://jlusdy.javaeye.com/blog/183004</link>
        <guid>http://jlusdy.javaeye.com/blog/183004</guid>
      </item>
          <item>
        <title>用POI将office文档转成文本</title>
        <author>jlusdy</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://jlusdy.javaeye.com">jlusdy</a>&nbsp;
                    链接：<a href="http://jlusdy.javaeye.com/blog/178295" style="color:red;">http://jlusdy.javaeye.com/blog/178295</a>&nbsp;
          发表时间: 2008年04月01日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          POI 3.0.2新增了文本抽出功能<br />添加了POITextExtractor抽象类<br />其实现包括ExcelExtractor， PowerPointExtractor， VisioTextExtractor， WordExtractor，分别可以抽出这些文档中的文本，其中ExcelExtractor只能得到所有cell中的值，WordExtractor能得到所有文本（段落，Table,文本框）的值。<br /><br />使用：<br />1.导入如下三个jar包<br />&nbsp;&nbsp;&nbsp; poi-3.0.2-FINAL-20080204.jar<br />&nbsp;&nbsp;&nbsp; poi-contrib-3.0.2-FINAL-20080204.jar<br />&nbsp;&nbsp;&nbsp; poi-scratchpad-3.0.2-FINAL-20080204.jar<br /><br />2.抽出<br />ExcelExtractor使用的例子如下：<br /><pre name="code" class="java">
		InputStream in = new FileInputStream("F:/test.xls");
		HSSFWorkbook workbook = new HSSFWorkbook(in);
		ExcelExtractor extractor = new ExcelExtractor(workbook);

		extractor.setFormulasNotResults(false);
		extractor.setIncludeSheetNames(false);
		
		String text = extractor.getText();

		System.out.println(text);
</pre>
          <br/><br/>
          <span style="color:red;">
            <a href="http://jlusdy.javaeye.com/blog/178295#comments" style="color:red;">已有 <strong>0</strong> 人发表留言，猛击-&gt;&gt;<strong>这里</strong>&lt;&lt;-参与讨论</a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">Windows7在微软WinHEC 2008上揭开神秘面纱</span></a></li><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Tue, 01 Apr 2008 09:40:02 +0800</pubDate>
        <link>http://jlusdy.javaeye.com/blog/178295</link>
        <guid>http://jlusdy.javaeye.com/blog/178295</guid>
      </item>
          <item>
        <title>用Jacob将office文档转成文本</title>
        <author>jlusdy</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://jlusdy.javaeye.com">jlusdy</a>&nbsp;
                    链接：<a href="http://jlusdy.javaeye.com/blog/175941" style="color:red;">http://jlusdy.javaeye.com/blog/175941</a>&nbsp;
          发表时间: 2008年03月25日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          <pre name="code" class="java">
Dispatch.invoke(doc, "SaveAs", Dispatch.Method,
			        new Object[] { txtFilePath, 
	new Variant(2) }, new int[1]);
</pre><br />JACOB一个Java-COM中间件。通过这个组件可以在Java应用程序中调用COM组件和Win32 libraries。这个SaveAs方法就相当于打开office文档点击菜单栏file里面的SaveAs，<br />转纯文本用上面的参数，其他的格式需要调节参数。
          <br/><br/>
          <span style="color:red;">
            <a href="http://jlusdy.javaeye.com/blog/175941#comments" style="color:red;">已有 <strong>0</strong> 人发表留言，猛击-&gt;&gt;<strong>这里</strong>&lt;&lt;-参与讨论</a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">Windows7在微软WinHEC 2008上揭开神秘面纱</span></a></li><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Tue, 25 Mar 2008 17:57:52 +0800</pubDate>
        <link>http://jlusdy.javaeye.com/blog/175941</link>
        <guid>http://jlusdy.javaeye.com/blog/175941</guid>
      </item>
          <item>
        <title>java调用Excel中Find的实现方法(jacob) </title>
        <author>jlusdy</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://jlusdy.javaeye.com">jlusdy</a>&nbsp;
                    链接：<a href="http://jlusdy.javaeye.com/blog/175330" style="color:red;">http://jlusdy.javaeye.com/blog/175330</a>&nbsp;
          发表时间: 2008年03月24日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          <pre name="code" class="java">
		ActiveXComponent activeXApp = null;
		try {
			activeXApp = new ActiveXComponent("Excel.Application");
			activeXApp.setProperty("Visible", new Variant(false));
			activeXApp.setProperty("DisplayAlerts", new Variant(false));

			Dispatch workbooks = activeXApp.getProperty("Workbooks").toDispatch();

			String xlsFilePath = null;
			String value = null;

			Dispatch sheet = null;
			Dispatch sheets = null;
			Dispatch usedRange = null;

			Variant result = null;
			Variant address = null;
			Variant nextResult = null;
			Variant nextAddress = null;

			Dispatch workbook = Dispatch.invoke(workbooks, "Open", 
					Dispatch.Method, new Object[] { xlsFilePath, new Variant(false),
					new Variant(false) }, new int[1]).toDispatch();

			sheets = Dispatch.get(workbook, "Sheets").toDispatch();
			
			int count = Dispatch.get(sheets, "Count").getInt();

			for (int j = 1; j &lt;= count; j++) {

				sheet = Dispatch.invoke(sheets, "Item", Dispatch.Get, 
						new Object[] { new Integer(j) }, new int[1]).toDispatch();

				usedRange = Dispatch.get(sheet, "UsedRange").toDispatch();

				result = Dispatch.invoke(usedRange, "Find", Dispatch.Method, 
						new Object[] { "<li>" }, new int[1]);</li>
				if (!result.isNull()) {
					value = Dispatch.get(result.toDispatch(), "Value").toString();

					address = Dispatch.get(result.toDispatch(), "Address");

					nextResult = Dispatch.invoke(usedRange, "FindNext", 
							Dispatch.Method, new Object[] { result }, new int[1]);
					nextAddress = Dispatch.get(nextResult.toDispatch(), "Address");

					while (!address.toString().equals(nextAddress.toString())) {
						value = Dispatch.get(nextResult.toDispatch(), "Value").toString();

						nextResult = Dispatch.invoke(usedRange, "FindNext", 
								Dispatch.Method, new Object[] { nextResult }, new int[1]);
						nextAddress = Dispatch.get(nextResult.toDispatch(), "Address");
					}
				}
			}
			Dispatch.call(workbook, "Close", new Variant(false));
		} catch (Exception e) {
			throw e;
		} finally {
			if (activeXApp != null) {
				activeXApp.invoke("Quit", new Variant[] {});
			}
			ComThread.Release();
		}
</pre>
          <br/><br/>
          <span style="color:red;">
            <a href="http://jlusdy.javaeye.com/blog/175330#comments" style="color:red;">已有 <strong>0</strong> 人发表留言，猛击-&gt;&gt;<strong>这里</strong>&lt;&lt;-参与讨论</a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">Windows7在微软WinHEC 2008上揭开神秘面纱</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Mon, 24 Mar 2008 10:31:28 +0800</pubDate>
        <link>http://jlusdy.javaeye.com/blog/175330</link>
        <guid>http://jlusdy.javaeye.com/blog/175330</guid>
      </item>
          <item>
        <title>java调用Word中Find的实现方法(jacob)</title>
        <author>jlusdy</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://jlusdy.javaeye.com">jlusdy</a>&nbsp;
                    链接：<a href="http://jlusdy.javaeye.com/blog/175329" style="color:red;">http://jlusdy.javaeye.com/blog/175329</a>&nbsp;
          发表时间: 2008年03月24日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          <pre name="code" class="java">
		ActiveXComponent activeXApp = null;
		try {
			activeXApp = new ActiveXComponent("Word.Application");

			activeXApp.setProperty("Visible", new Variant(false));

			Dispatch docs = activeXApp.getProperty("Documents").toDispatch();

			String docFilePath = "";
			String result = "";

			Dispatch doc = Dispatch.invoke(docs, "Open", Dispatch.Method, 
					new Object[] { docFilePath, new Variant(false), 
					new Variant(false) }, new int[1]).toDispatch();

			Dispatch selection = Dispatch.get(activeXApp, "Selection").toDispatch();
			Dispatch find = Dispatch.call(selection, "Find").toDispatch();
			Dispatch.put(find, "Text", "[[]*:*[]]");
			Dispatch.put(find, "Forward", "True");
			Dispatch.put(find, "Format", "False");
			Dispatch.put(find, "MatchCase", "False");
			Dispatch.put(find, "MatchWholeWord", "False");

			Dispatch.put(find, "MatchByte", "False");
			Dispatch.put(find, "MatchAllWordForms", "False");
			Dispatch.put(find, "MatchSoundsLike", "False");
			Dispatch.put(find, "MatchFuzzy", "False");
			Dispatch.put(find, "MatchWildcards", "True");

			while (Dispatch.call(find, "Execute").getBoolean()) {
				result = Dispatch.get(selection, "Text").toString();
			}

			Dispatch.call(doc, "Close", new Variant(false));
		} catch (Exception e) {
			throw e;
		} finally {
			if (activeXApp != null) {
				activeXApp.invoke("Quit", new Variant[] {});
			}
			ComThread.Release();
		}
</pre>
          <br/><br/>
          <span style="color:red;">
            <a href="http://jlusdy.javaeye.com/blog/175329#comments" style="color:red;">已有 <strong>1</strong> 人发表留言，猛击-&gt;&gt;<strong>这里</strong>&lt;&lt;-参与讨论</a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">Windows7在微软WinHEC 2008上揭开神秘面纱</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Mon, 24 Mar 2008 10:30:08 +0800</pubDate>
        <link>http://jlusdy.javaeye.com/blog/175329</link>
        <guid>http://jlusdy.javaeye.com/blog/175329</guid>
      </item>
          <item>
        <title>【转】张爱玲《爱》节选</title>
        <author>jlusdy</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://jlusdy.javaeye.com">jlusdy</a>&nbsp;
                    链接：<a href="http://jlusdy.javaeye.com/blog/162251" style="color:red;">http://jlusdy.javaeye.com/blog/162251</a>&nbsp;
          发表时间: 2008年02月14日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          于千万人之中遇见你所遇见的人，于千万年之中，时间的无涯的荒野里，没有早一<br />步，也没有晚一步，刚巧赶上了，那也没有别的话可说，惟有轻轻地问一声：“噢，你<br />也在这里吗？”
          <br/><br/>
          <span style="color:red;">
            <a href="http://jlusdy.javaeye.com/blog/162251#comments" style="color:red;">已有 <strong>0</strong> 人发表留言，猛击-&gt;&gt;<strong>这里</strong>&lt;&lt;-参与讨论</a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">Windows7在微软WinHEC 2008上揭开神秘面纱</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Thu, 14 Feb 2008 15:43:46 +0800</pubDate>
        <link>http://jlusdy.javaeye.com/blog/162251</link>
        <guid>http://jlusdy.javaeye.com/blog/162251</guid>
      </item>
          <item>
        <title>java 加密解密工具类</title>
        <author>jlusdy</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://jlusdy.javaeye.com">jlusdy</a>&nbsp;
                    链接：<a href="http://jlusdy.javaeye.com/blog/145803" style="color:red;">http://jlusdy.javaeye.com/blog/145803</a>&nbsp;
          发表时间: 2007年12月04日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          <pre name="code" class="java">	/**
	 * @param input
	 * @return
	 * @throws Exception
	 */
	public static String encryptData(String input) throws Exception {

		SecureRandom sr = new SecureRandom();
		byte rawKeyData[] = "ABCDEFGH".getBytes();
		DESKeySpec dks = new DESKeySpec(rawKeyData);

		SecretKeyFactory keyFactory = SecretKeyFactory.getInstance("DES");
		SecretKey key = keyFactory.generateSecret(dks);

		Cipher c = Cipher.getInstance("DES");
		c.init(Cipher.ENCRYPT_MODE, key, sr);
		byte[] cipherByte = c.doFinal(input.getBytes());
		String dec = new BASE64Encoder().encode(cipherByte);
		return dec;

	}

	/**
	 * @param input
	 * @return
	 * @throws Exception
	 */
	public static String decryptData(String input) throws Exception {
		byte[] dec = new BASE64Decoder().decodeBuffer(input);

		SecureRandom sr = new SecureRandom();
		byte rawKeyData[] = "ABCDEFGH".getBytes();

		DESKeySpec dks = new DESKeySpec(rawKeyData);

		SecretKeyFactory keyFactory = SecretKeyFactory.getInstance("DES");

		SecretKey key = keyFactory.generateSecret(dks);

		Cipher c = Cipher.getInstance("DES");
		c.init(Cipher.DECRYPT_MODE, key, sr);
		byte[] clearByte = c.doFinal(dec);

		return new String(clearByte);

	}
</pre>
          <br/><br/>
          <span style="color:red;">
            <a href="http://jlusdy.javaeye.com/blog/145803#comments" style="color:red;">已有 <strong>0</strong> 人发表留言，猛击-&gt;&gt;<strong>这里</strong>&lt;&lt;-参与讨论</a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">Windows7在微软WinHEC 2008上揭开神秘面纱</span></a></li><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Tue, 04 Dec 2007 11:37:36 +0800</pubDate>
        <link>http://jlusdy.javaeye.com/blog/145803</link>
        <guid>http://jlusdy.javaeye.com/blog/145803</guid>
      </item>
          <item>
        <title>在eclipse下debug JSP</title>
        <author>jlusdy</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://jlusdy.javaeye.com">jlusdy</a>&nbsp;
                    链接：<a href="http://jlusdy.javaeye.com/blog/141951" style="color:red;">http://jlusdy.javaeye.com/blog/141951</a>&nbsp;
          发表时间: 2007年11月20日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          <ol type="1" style="MARGIN-TOP: 0in">
    <li class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"><font face="Arial"><font size="4"><span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-ascii-font-family: Arial; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">利用</span><span style="FONT-FAMILY: Arial">jspc</span><span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-ascii-font-family: Arial; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">命令将要</span><span style="FONT-FAMILY: Arial">debug</span><span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-ascii-font-family: Arial; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">的</span><span style="FONT-FAMILY: Arial">jsp</span><span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-ascii-font-family: Arial; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">编译成</span><span style="FONT-FAMILY: Arial">java(servlet)</span><span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-ascii-font-family: Arial; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">文件</span><span style="FONT-FAMILY: Arial"><o:p></o:p></span> </font></font></li>
    <li class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"><font face="Arial"><font size="4"><span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-ascii-font-family: Arial; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">将此</span><span style="FONT-FAMILY: Arial">java</span><span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-ascii-font-family: Arial; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">文件加入工程目录</span><span style="FONT-FAMILY: Arial"><o:p></o:p></span> </font></font></li>
    <li class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"><font face="Arial"><font size="4"><span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-ascii-font-family: Arial; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">修改</span><span style="FONT-FAMILY: Arial">web.xml</span><span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-ascii-font-family: Arial; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">，给此</span><span style="FONT-FAMILY: Arial">java(servlet)</span><span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-ascii-font-family: Arial; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">加上</span><span style="FONT-FAMILY: Arial">servlet </span><span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-ascii-font-family: Arial; mso-hansi-font-family: 'Courier New'; mso-bidi-font-family: Arial">和</span><span style="FONT-FAMILY: Arial">servlet-mapping</span><span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-ascii-font-family: Arial; mso-hansi-font-family: 'Courier New'; mso-bidi-font-family: Arial">配置</span><span style="FONT-FAMILY: Arial"><o:p></o:p></span> </font></font></li>
</ol>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.5in"><span style="FONT-FAMILY: Arial"><font size="4">sample</font></span><span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-ascii-font-family: Arial; mso-hansi-font-family: 'Courier New'; mso-bidi-font-family: Arial"><font size="4" face="Arial">：</font></span></p>
<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-ascii-font-family: Arial; mso-hansi-font-family: 'Courier New'; mso-bidi-font-family: Arial">
<div class="code_title">xml 代码</div>
<div class="dp-highlighter">
<div class="bar"></div>
<ol class="dp-xml">
    <li class="alt"><span><span class="tag">&lt;</span><span class="tag-name">servlet</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></span></li>
    <li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="tag">&lt;</span><span class="tag-name">servlet-name</span><span class="tag">&gt;</span><span>test</span><span class="tag">&lt;/</span><span class="tag-name">servlet-name</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></li>
    <li class="alt"><span></span><span class="tag">&lt;</span><span class="tag-name">servlet-class</span><span class="tag">&gt;</span><span>test.ScheduledExams</span><span class="tag">&lt;/</span><span class="tag-name">servlet-class</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></li>
    <li class=""><span></span><span class="tag">&lt;/</span><span class="tag-name">servlet</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></li>
    <li class="alt"><span>&nbsp;&nbsp;</span></li>
    <li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="tag">&lt;</span><span class="tag-name">servlet-mapping</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></li>
    <li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="tag">&lt;</span><span class="tag-name">servlet-name</span><span class="tag">&gt;</span><span>test</span><span class="tag">&lt;/</span><span class="tag-name">servlet-name</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></li>
    <li class=""><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="tag">&lt;</span><span class="tag-name">url-pattern</span><span class="tag">&gt;</span><span>/ScheduledExams</span><span class="tag">&lt;/</span><span class="tag-name">url-pattern</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></li>
    <li class="alt"><span></span><span class="tag">&lt;/</span><span class="tag-name">servlet-mapping</span><span class="tag">&gt;</span><span>&nbsp;&nbsp;</span></li>
</ol>
</div>
<span class="tag"><span class="tag"><span class="tag"><span class="tag"><span class="tag"><span class="tag"></span></span></span></span></span></span></span>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.5in"><font size="4"><span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-ascii-font-family: Arial; mso-hansi-font-family: 'Courier New'; mso-bidi-font-family: Arial"></span><span style="FONT-FAMILY: Arial"><o:p></o:p></span></font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.5in"><span style="BACKGROUND: white; FONT-FAMILY: Arial; mso-highlight: white"><servlet></servlet><font size="4"></font></span><span style="FONT-FAMILY: Arial"><o:p></o:p></span></p>
<span style="FONT-FAMILY: Arial"><span style="BACKGROUND: white; mso-highlight: white">
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><font size="4">&nbsp;</font></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.5in"><font size="4"><span style="BACKGROUND: white; FONT-FAMILY: Arial; mso-highlight: white"></span><span style="FONT-FAMILY: Arial"><o:p></o:p></span></font></p>
<ol start="4" type="1" style="MARGIN-TOP: 0in">
    <li class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"><font face="Arial"><font size="4"><span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-ascii-font-family: Arial; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">修改</span><span style="FONT-FAMILY: Arial">controller</span><span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-ascii-font-family: Arial; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">里面的</span><span style="FONT-FAMILY: Arial">Dispatcher</span><span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-ascii-font-family: Arial; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">，如果请求此页面，把</span><span style="FONT-FAMILY: Arial">getServletContext().getRequestDispatcher(string)</span><span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-ascii-font-family: Arial; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">的参数由</span><span style="FONT-FAMILY: Arial">jsp</span><span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-ascii-font-family: Arial; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">名换成所配置的</span><span style="FONT-FAMILY: Arial">servlet</span><span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-ascii-font-family: Arial; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">名</span><span style="FONT-FAMILY: Arial"><o:p></o:p></span> </font></font></li>
</ol>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.5in"><span style="FONT-FAMILY: Arial"><o:p><font size="4">&nbsp;</font></o:p></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"><o:p><font size="4">&nbsp;</font></o:p></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"><o:p><font size="4">&nbsp;</font></o:p></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt 0.5in"><span style="FONT-FAMILY: Arial"><o:p><font size="4">&nbsp;</font></o:p></span></p>
</span></span><span style="BACKGROUND: white; FONT-FAMILY: Arial; mso-highlight: white"></span><span style="FONT-FAMILY: Arial"><o:p></o:p></span>
<p><font size="4"></font></p>
<span class="tag"><span class="tag"><span class="tag"><span class="tag"><span class="tag"><span class="tag">
<div class="code_title"><font size="4"></font></div>
</span></span></span></span></span></span>
          <br/><br/>
          <span style="color:red;">
            <a href="http://jlusdy.javaeye.com/blog/141951#comments" style="color:red;">已有 <strong>0</strong> 人发表留言，猛击-&gt;&gt;<strong>这里</strong>&lt;&lt;-参与讨论</a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">Windows7在微软WinHEC 2008上揭开神秘面纱</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Tue, 20 Nov 2007 10:30:00 +0800</pubDate>
        <link>http://jlusdy.javaeye.com/blog/141951</link>
        <guid>http://jlusdy.javaeye.com/blog/141951</guid>
      </item>
          <item>
        <title>该死的当当网</title>
        <author>jlusdy</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://jlusdy.javaeye.com">jlusdy</a>&nbsp;
                    链接：<a href="http://jlusdy.javaeye.com/blog/128204" style="color:red;">http://jlusdy.javaeye.com/blog/128204</a>&nbsp;
          发表时间: 2007年09月29日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          <p>这次在当当订了三本书，真是气煞我也。</p>
<p>下好了订单我一看，就变成下面这样了，我还以为是什么统计显示错误呢，没想到是货没凑齐，竟然只给我发了一本，而且那两本书都是当下很热门很畅销的书，网页上一直都是显示有货的，至少说明他们网站更新有问题，再就是他们工作人员的态度有问题，对顾客不负责任，我可没选择分单发送，这样每单不到100元，他们还能多收我三次运费哈</p>
<p>&nbsp;</p>
<p>
<table cellspacing="0" border="1" bordercolor="#000000" width="100%" cellpadding="3">
    <tbody>
        <tr>
            <td>订购货款：<strong> 133.95元</strong> </td>
            <td rowspan="2">发送费：<strong> 2.00元 </strong></td>
            <td>订购总计：<strong>135.95元</strong></td>
        </tr>
        <tr>
            <td>实际货款：<strong> 38.25元</strong> </td>
            <td>实际总计：<strong>40.25元</strong></td>
        </tr>
    </tbody>
</table>
</p>
<p>最要命的是发送速度</p>
<p>
<table cellspacing="0" border="0" align="center" width="95%" cellpadding="0">
    <tbody>
        <tr>
            <td>
            <table cellspacing="0" border="1" bordercolor="#000000" width="100%" cellpadding="3">
                <tbody>
                    <tr>
                        <td width="50%">订购日期：<font color="#ff0000">2007-9-24 11:19:28</font></td>
                        <td width="50%">付款方式：货到时付款</td>
                    </tr>
                    <tr>
                        <td>包装：不需要</td>
                        <td>余款处理： 留在当当 </td>
                    </tr>
                    <tr>
                        <td width="50%">已付款: 40.25元(2007-9-24 11:20:48) </td>
                        <td width="50%">使用帐户余额： 0元&nbsp;&nbsp;&nbsp;电子货币：0</td>
                    </tr>
                    <tr>
                        <td width="50%">会员卡类别：</td>
                        <td width="50%">会员卡号：</td>
                    </tr>
                    <tr>
                        <td width="50%">使用礼券价值：0元</td>
                        <td width="50%">礼券编号： </td>
                    </tr>
                </tbody>
            </table>
            </td>
        </tr>
        <tr>
            <td>
            <table cellspacing="0" border="1" bordercolor="#000000" width="100%" cellpadding="3">
                <tbody>
                    <tr>
                        <td width="50%">出库日期：<font color="#ff0000">2007-9-25 16:49:52</font></td>
                    </tr>
                </tbody>
            </table>
            </td>
        </tr>
    </tbody>
</table>
</p>
<p>配货嘛，一天半，也就不说他们了，符合当当一贯的速度，选择的快递公司也是慢的够可以</p>
<p>
<table cellspacing="2" align="center" width="90%" cellpadding="2">
    <tbody>
        <tr>
            <td class="normal" height="2" bgcolor="#ddf1fd" width="8%">
            <div align="center">运单号</div>
            </td>
            <td class="normal" bgcolor="#ddf1fd" width="10%">
            <div align="center">账号</div>
            <div align="center"></div>
            </td>
            <td class="normal" bgcolor="#ddf1fd" width="4%">
            <div align="center">件数</div>
            </td>
            <td class="normal" bgcolor="#ddf1fd" width="8%">
            <div align="center">发件地</div>
            </td>
            <td class="normal" bgcolor="#ddf1fd" width="7%">
            <div align="center">目的地</div>
            </td>
            <td class="normal" bgcolor="#ddf1fd" width="15%">
            <div align="center">日期</div>
            </td>
            <td class="normal" bgcolor="#ddf1fd" width="12%">
            <div align="center">时间</div>
            </td>
            <td class="normal" bgcolor="#ddf1fd" width="16%">
            <div align="center">状态</div>
            </td>
        </tr>
        <tr>
            <td class="normal" height="21"><span class="boldblack">1409141505</span> </td>
            <td class="normal"><span class="boldblack"></span></td>
            <td class="normal"><span class="boldblack">1</span></td>
            <td class="normal"><span class="boldblack"></span></td>
            <td class="normal"><span class="boldblack">大连</span></td>
            <td class="normal"><span class="boldblack">2007-9-26</span></td>
            <td class="normal"><span class="boldblack">14:25:27</span></td>
            <td class="normal">分拣完必-派送途中</td>
        </tr>
    </tbody>
</table>
<!---------------------   for detail of bills ---------------------->
<table cellspacing="2" align="center" width="90%" cellpadding="2">
    <tbody>
        <tr bgcolor="#ffffff">
            <td class="boldred" height="2" colspan="7">
            <div align="left"><strong>详情</strong></div>
            </td>
        </tr>
        <tr>
            <td class="boldblack" height="2" bgcolor="#ddf1fd" width="10%">
            <div align="center">序号</div>
            </td>
            <td class="normal" height="2" bgcolor="#ddf1fd" width="21%">
            <div align="center">运单号</div>
            </td>
            <td class="normal" bgcolor="#ddf1fd" width="13%">
            <div align="center">日期</div>
            </td>
            <td class="normal" bgcolor="#ddf1fd" width="17%">
            <div align="center">时间</div>
            </td>
            <td class="normal" bgcolor="#ddf1fd" width="16%">
            <div align="center">服务地区</div>
            </td>
            <td class="normal" bgcolor="#ddf1fd" width="14%">
            <div align="center">检查点</div>
            </td>
            <td class="normal" bgcolor="#ddf1fd" width="9%">
            <div align="center">签收</div>
            <div align="center"></div>
            <div align="center"></div>
            </td>
        </tr>
        <tr>
            <td class="boldblack" height="21">1&nbsp;</td>
            <td class="normal" height="21">1409141505 </td>
            <td class="normal"><span class="boldblack">2007-9-26</span></td>
            <td class="normal"><span class="boldblack">14:25:27</span></td>
            <td class="normal"><span class="boldblack"></span></td>
            <td class="normal"><span class="boldblack">到港</span></td>
            <td class="normal"><span class="boldblack"></span></td>
        </tr>
        <tr>
            <td class="boldblack" height="21">2&nbsp;</td>
            <td class="normal" height="21">1409141505 </td>
            <td class="normal"><span class="boldblack">2007-9-26</span></td>
            <td class="normal"><span class="boldblack">14:27:17</span></td>
            <td class="normal"><span class="boldblack"></span></td>
            <td class="normal"><span class="boldblack">快件到达公司</span></td>
            <td class="normal"><span class="boldblack"></span></td>
        </tr>
        <tr>
            <td class="boldblack" height="21">3&nbsp;</td>
            <td class="normal" height="21">1409141505 </td>
            <td class="normal"><span class="boldblack">2007-9-26</span></td>
            <td class="normal"><span class="boldblack">14:27:18</span></td>
            <td class="normal"><span class="boldblack"></span></td>
            <td class="normal"><span class="boldblack">到付</span></td>
            <td class="normal"><span class="boldblack"></span></td>
        </tr>
        <tr>
            <td class="boldblack" height="21">4&nbsp;</td>
            <td class="normal" height="21">1409141505 </td>
            <td class="normal"><span class="boldblack">2007-9-27</span></td>
            <td class="normal"><span class="boldblack">9:39:48</span></td>
            <td class="normal"><span class="boldblack">1033</span></td>
            <td class="normal"><span class="boldblack">分拣完必-派送途中</span></td>
        </tr>
    </tbody>
</table>
</p>
<p>26号到大连，27号应该给送了吧，却拖到了29号下午，快递员工还牛哄哄傻**的，真想骂人</p>
<p>之前就做过测试，卓越和当当一起下单，卓越比当当快得不是一天两天啊</p>
<p>看来以后真的不能再用当当了</p>
          <br/><br/>
          <span style="color:red;">
            <a href="http://jlusdy.javaeye.com/blog/128204#comments" style="color:red;">已有 <strong>0</strong> 人发表留言，猛击-&gt;&gt;<strong>这里</strong>&lt;&lt;-参与讨论</a>
          </span>
          <br/><br/><br/>
          <span style="color:#E28822;">JavaEye推荐</span>
          <br/>
          <ul class='adverts'><li><a href='/adverts/42' target='_blank'><span style="color:red;font-weight:bold;">搜狐网站诚聘Java、PHP和C++工程师</span></a></li><li><a href='/adverts/41' target='_blank'><span style="color:red;font-weight:bold;">Windows7在微软WinHEC 2008上揭开神秘面纱</span></a></li></ul>
          <br/><br/><br/>
          ]]>
        </description>
        <pubDate>Sat, 29 Sep 2007 13:58:53 +0800</pubDate>
        <link>http://jlusdy.javaeye.com/blog/128204</link>
        <guid>http://jlusdy.javaeye.com/blog/128204</guid>
      </item>
          <item>
        <title>小议WEB开发</title>
        <author>jlusdy</author>
        <description>
          <![CDATA[
          <br/>
          作者: <a href="http://jlusdy.javaeye.com">jlusdy</a>&nbsp;
                    链接：<a href="http://jlusdy.javaeye.com/blog/124636" style="color:red;">http://jlusdy.javaeye.com/blog/124636</a>&nbsp;
          发表时间: 2007年09月17日
          <br/><br/>
          声明：本文系JavaEye网站发布的原创博客文章，未经作者书面许可，严禁任何网站转载本文，否则必将追究法律责任！
          <br/><br/>
          &nbsp;
<p class="MsoNormal"><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">上世纪</span><span style="FONT-SIZE: 9pt">90</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">年代早期，人们开发出了</span><span style="FONT-SIZE: 9pt">web</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">浏览器和</span><span style="FONT-SIZE: 9pt">HTTP</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">协议，大部分人最开始接触电脑也是从上网开始的。现在，计算机已经完全改变了人们的生活，并且在这个世界的各个角落、各个领域发挥作用。可以说是计算机把我们带进了信息时代，而对于普通人来说，这件事就是从浏览网页开始的。</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">从最初的网景，到近几年的</span><span style="FONT-SIZE: 9pt">IE</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">一家独大，再到现在</span><span style="FONT-SIZE: 9pt">FireFox</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</span><span style="FONT-SIZE: 9pt">NetScape</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</span><span style="FONT-SIZE: 9pt">Opera</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、遨游等浏览器各自发力、抢占市场，我们使用的浏览器在不断变化，同样，浏览器里边显示的内容也在不断变化。</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">我们使用浏览器访问网页，然后打开页面，也就是通过浏览器发送</span><span style="FONT-SIZE: 9pt">URL</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">请求，然后获得服务器响应的过程。</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">服务器的响应最开始都是静态的，包括我们所能看到的文字，图片等等，后来，为了增加可交互性，一些大公司纷纷推出了自己的动态产品，包括</span><span style="FONT-SIZE: 9pt">Adobe</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">公司的</span><span style="FONT-SIZE: 9pt">Flash</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</span><span style="FONT-SIZE: 9pt">SUN</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">公司的</span><span style="FONT-SIZE: 9pt">Applets</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">等。现在在很多的网页上都可以看到用</span><span style="FONT-SIZE: 9pt">Flash</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">制作的</span><span style="FONT-SIZE: 9pt">LOGO</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">或者广告之类的显示，事实上</span><span style="FONT-SIZE: 9pt">Flash</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">已经成为这一领域的老大，</span><span lang="ZH-CN" style="FONT-SIZE: 9pt"> </span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">究其原因，</span><span style="FONT-SIZE: 9pt">Flash</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">效果出色，其展示是基于浏览器插件，</span><span style="FONT-SIZE: 9pt">Applets</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">显示效果比较僵硬，其展示是基于操作系统插件，也就是</span><span style="FONT-SIZE: 9pt">Java</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">虚拟机，这造成了安装使用上的不便，尤其是对于非专业的使用者，所以</span><span style="FONT-SIZE: 9pt">Applets</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">目前几乎没有什么新的应用在使用了。但</span><span style="FONT-SIZE: 9pt">Flash</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">也有它的弊端，那就是对于开发者要求较高，美工不具备编程的能力，程序员不具备美工的艺术水准，往往很难短期内开发出交互性强且美观大方的作品，而且体积较大，不利于网络传输。基于这些因素，人们打算回归纯</span><span style="FONT-SIZE: 9pt">HTML</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">这样的纯文本内容响应，近年来</span><span style="FONT-SIZE: 9pt">Ajax</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的流行也成为这一论点的佐证，</span><span style="FONT-SIZE: 9pt">W<st1:chmetcnv tcsc="0" hasspace="False" sourcevalue="3" numbertype="1" negative="False" unitname="C" w:st="on">3C</st1:chmetcnv></span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">组织目前也在进一步增强</span><span style="FONT-SIZE: 9pt">HTML</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">标准，使其可以适应</span><span style="FONT-SIZE: 9pt">WEB2.0</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">这一新时期的新需求。</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">从开发语言的角度来分析，我们知道，网站早期使用的是</span><span style="FONT-SIZE: 9pt">HTML</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">静态页面，后来</span><span style="FONT-SIZE: 9pt">PHP</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</span><span style="FONT-SIZE: 9pt">ASP</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</span><span style="FONT-SIZE: 9pt">JSP</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">相继出现，现在，</span><span style="FONT-SIZE: 9pt">Ruby on Rails</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">正如同早上</span><span style="FONT-SIZE: 9pt">7</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</span><span style="FONT-SIZE: 9pt">8</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">点钟的太阳冉冉升起。按市场份额来看，网上大部分可以访问网站是以</span><span style="FONT-SIZE: 9pt">PHP</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">为主、</span><span style="FONT-SIZE: 9pt">ASP</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">次之、</span><span style="FONT-SIZE: 9pt">JSP</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">再次之、</span><span style="FONT-SIZE: 9pt">ROR</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">最少，我们比较一下其原因：</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 9pt">HTML</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">：</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l4 level1 lfo1; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">1．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">可以满足所有需求，但可编程性为零</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l4 level1 lfo1; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">2．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">随着网站资源的增加，其编写难度将呈指数级别增长</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l4 level1 lfo1; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">3．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">目前没有哪个站点使用纯</span><span style="FONT-SIZE: 9pt">HTML</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">编写</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 9pt">PHP</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">：</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l2 level1 lfo2; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">1．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">可以满足所有需求，但可编程性较强</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l2 level1 lfo2; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">2．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">以</span><span style="FONT-SIZE: 9pt">LAMP</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">（</span><span style="FONT-SIZE: 9pt">Linux</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</span><span style="FONT-SIZE: 9pt">Apache</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</span><span style="FONT-SIZE: 9pt">MySQL</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</span><span style="FONT-SIZE: 9pt">PHP</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">）为代表的组合功能十分强劲，并且是全免费的</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l2 level1 lfo2; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">3．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">性能很好，访问速度较快，对硬件要求也不高，综合考虑性价比是最好的，市场份额很高</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l2 level1 lfo2; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">4．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">缺点是可维护性差，没有什么分层的概念，大应用小应用都比较乱，不可能进行重构</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l2 level1 lfo2; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">5．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">部署方便</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l2 level1 lfo2; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">6．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">代表作：大部分的论坛、公司主页和其他网站</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 9pt">ASP</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">：</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo5; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">1．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span style="FONT-SIZE: 9pt">.NET</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">框架下的主力军</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo5; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">2．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">入门简单使用方便</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo5; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">3．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">多语言支持</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo5; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">4．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">部署方便</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo5; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">5．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">成本比</span><span style="FONT-SIZE: 9pt">PHP</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">高</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo5; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">6．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">代表作：很多公司主页和其他各类网站</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 9pt">JSP</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">：</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l1 level1 lfo4; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">1．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span style="FONT-SIZE: 9pt">J2EE</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">技术的主力军</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l1 level1 lfo4; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">2．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">门槛较高选择较多</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l1 level1 lfo4; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">3．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">基于</span><span style="FONT-SIZE: 9pt">Java</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">语言，也可支持多种开发语言</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l1 level1 lfo4; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">4．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">部署方便</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l1 level1 lfo4; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">5．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">成本较高</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l1 level1 lfo4; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">6．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">服务器强悍，非常稳定，适合超大型项目</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l1 level1 lfo4; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">7．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">代表作：各种大型企业内部应用，如电信、银行、金融、气象等领域，大型外部应用如大型购物网站</span><span style="FONT-SIZE: 9pt">eBay<o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 9pt">Ruby on Rails</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">（</span><span style="FONT-SIZE: 9pt">ROR</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">）：</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l3 level1 lfo3; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">1．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span style="FONT-SIZE: 9pt">WEB</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">框架新生代代表</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l3 level1 lfo3; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">2．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">基于脚本语言</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l3 level1 lfo3; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">3．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">全都是最佳实践的结晶，各种特性令人满意</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l3 level1 lfo3; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">4．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">开发速度很快</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l3 level1 lfo3; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">5．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">部署方便</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l3 level1 lfo3; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">6．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">成本不高</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN-LEFT: 0.25in; TEXT-INDENT: -0.25in; mso-list: l3 level1 lfo3; tab-stops: list .25in"><span style="FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'"><span style="mso-list: Ignore">7．<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </span></span></span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">代表作：大部分</span><span style="FONT-SIZE: 9pt">WEB2.0</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">网站</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">个人推荐：</span><span style="FONT-SIZE: 9pt">WEB</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">开发，如果还没有开始学，那就从</span><span style="FONT-SIZE: 9pt">ROR</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">开始吧，如果已经有过经验，那也来学</span><span style="FONT-SIZE: 9pt">ROR</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">吧，还等什么？</span><span style="FONT-SIZE: 9pt">WEB2.0</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">诶。</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">从网站分类来看，上世纪</span><span style="FONT-SIZE: 9pt">90</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">年代应该可以说是</span><span style="FONT-SIZE: 9pt">BBS</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">时代，人们踯躅于各大论坛，从那里获得来自世界各地的最新消息，并且形成了一种论坛亚文化；进入</span><span style="FONT-SIZE: 9pt">21</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">世纪，后论坛时代，人们带着</span><span style="FONT-SIZE: 9pt">BBS</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的习惯，进入</span><span style="FONT-SIZE: 9pt">WEB</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">多元化时期。门户、</span><span style="FONT-SIZE: 9pt">Blog</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</span><span style="FONT-SIZE: 9pt">Wiki</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</span><span style="FONT-SIZE: 9pt">Google</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">等分支百花齐放；电子商务、网上交易也遍地开花，涌现出一批像</span><span style="FONT-SIZE: 9pt">Amazon</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</span><span style="FONT-SIZE: 9pt">eBay</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</span><span style="FONT-SIZE: 9pt">Alibaba</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">这样的网上交易大鳄；很多新兴的营业创收模式也不断涌现，如</span><span style="FONT-SIZE: 9pt">RSS</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">订阅、豆瓣网、</span><span style="FONT-SIZE: 9pt">FACEBOOK</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</span><span style="FONT-SIZE: 9pt">DIGG</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</span><span style="FONT-SIZE: 9pt">IN</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">客打印等；以在线视频共享网站</span><span style="FONT-SIZE: 9pt">youtube</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">被</span><span style="FONT-SIZE: 9pt">Google</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">以</span><span style="FONT-SIZE: 9pt">16.5</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">亿美元收购为代表，每天都在发生很多大事件，可谓是风起云涌，正是建功立业的好时机啊。</span><span style="FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">这些</span><span style="FONT-SIZE: 9pt">WEB2.0</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">网站，都应用了时下比较流行的技术，如</span><span style="FONT-SIZE: 9pt">Ajax</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">等。实际上，近几年很多公司都把赌注押在了</span><span style="FONT-SIZE: 9pt">WEB</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">开发领域，富客户端的概念也被越来越多的提及。</span><span style="FONT-SIZE: 9pt">2007</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">年</span><span style="FONT-SIZE: 9pt">Adobe</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">公司推出了</span><span style="FONT-SIZE: 9pt">Apollo</span><span lang="ZH-CN" style="FONT-SIZE: 9pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">插件技术，完成了联机和脱机的富客户端服务器交互，并且推出了</span><span style="F