<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/54powerman" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/54powerman" type="application/rss+xml"></fs:self_link><lastBuildDate>Thu, 23 Apr 2009 14:57:00 GMT</lastBuildDate><title>54powerman的专栏</title><description>我的记事本</description><link>http://blog.csdn.net/54powerman/</link><item><title>VirtualBox 2.2.0使用主机网络上网的配置</title><link>http://blog.csdn.net/54powerman/archive/2009/04/23/4103400.aspx</link><wfw:comment>http://blog.csdn.net/54powerman/comments/4103400.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/54powerman/comments/commentRss/4103400.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4103400</trackback:ping><description>当VirtualBox 2.1.4升级到2.2.0以后，突然发现虚拟的系统无法使用主机的网络上网了，google了一下，发现很多人碰到这个问题，但没有解决办法，甚至有人认为是VirtualBox的Bug，其实不然。经过研究发现，2.2.0缺省的不再是Bridge Network方式了，改为NAT，那么我们自己将网络修改回原来2.1.4的桥接方式就可以了。&lt;img src =&quot;http://blog.csdn.net/54powerman/aggbug/4103400.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 23 Apr 2009 22:57:00 +0800</pubDate><author>Polly Duan</author><comments>http://blog.csdn.net/54powerman/archive/2009/04/23/4103400.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/54powerman/archive/2009/04/23/4103400.aspx</guid><dc:creator>Polly Duan</dc:creator></item><item><title>试用commons-jexl</title><link>http://blog.csdn.net/54powerman/archive/2009/03/25/4023572.aspx</link><wfw:comment>http://blog.csdn.net/54powerman/comments/4023572.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/54powerman/comments/commentRss/4023572.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4023572</trackback:ping><description>&lt;br /&gt;试用commons-jexl&lt;br /&gt;下载地址：&lt;br /&gt;http://commons.apache.org/jexl/&lt;br /&gt;测试代码：&lt;br /&gt;import org.apache.commons.jexl.*;&lt;br /&gt;public class Demo &lt;br /&gt;{&lt;br /&gt; public static void main(String[] args)  throws Exception&lt;br /&gt; {&lt;br /&gt;      // Create an expression object&lt;br /&gt;   String jexlExp = &quot;df.format(foo.getTime());&quot;;&lt;br /&gt;   Expression e = ExpressionFactory.createExpression( jexlExp );&lt;br /&gt;&lt;br /&gt;   // Create a context and add data&lt;br /&gt;   JexlContext jc = JexlHelper.createContext();&lt;br /&gt;   ja&lt;img src =&quot;http://blog.csdn.net/54powerman/aggbug/4023572.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Wed, 25 Mar 2009 23:01:00 +0800</pubDate><author>Polly</author><comments>http://blog.csdn.net/54powerman/archive/2009/03/25/4023572.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/54powerman/archive/2009/03/25/4023572.aspx</guid><dc:creator>Polly</dc:creator></item><item><title>Jbuilder开发环境配置连接池常见错误及解决</title><link>http://blog.csdn.net/54powerman/archive/2008/10/30/3183412.aspx</link><wfw:comment>http://blog.csdn.net/54powerman/comments/3183412.aspx</wfw:comment><slash:comments>3</slash:comments><wfw:commentRss>http://blog.csdn.net/54powerman/comments/commentRss/3183412.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3183412</trackback:ping><description>&lt;br /&gt;1、Cannot create JDBC driver of class '' for connect URL ''&lt;br /&gt;问题：找不到jdbc驱动，但是提示信息里的class值为null，所以，可以断定Tomcat没有找到Server.xml里的Resource配置信息。可能的原因包括：&lt;br /&gt;（1）没有配置Resource；&lt;br /&gt;（2）Resource配置信息放置的位置错误。&lt;br /&gt;（3）一个不容易发现的错误，driverClassName和url拼写错误。&lt;br /&gt;解决办法：确认Resource配置正确，并且必须放在DefaultContext或者Context配置节内。&lt;br /&gt;&lt;br /&gt;2、Cannot create JDBC driver of class 'xxx' for connect URL ''&lt;br /&gt;解决办法：配置的数据库驱动类名xxx是错误的，检查并修改即可；如果确认正确，那就是找不到驱动库，拷贝一个jar到Tomcat/common/lib中即可。&lt;br /&gt;&lt;br /&gt;3、Cannot create JDBC d&lt;img src =&quot;http://blog.csdn.net/54powerman/aggbug/3183412.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 30 Oct 2008 20:03:00 +0800</pubDate><author>Polly</author><comments>http://blog.csdn.net/54powerman/archive/2008/10/30/3183412.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/54powerman/archive/2008/10/30/3183412.aspx</guid><dc:creator>Polly</dc:creator></item><item><title>终于再次面世了</title><link>http://blog.csdn.net/54powerman/archive/2008/08/18/2791852.aspx</link><wfw:comment>http://blog.csdn.net/54powerman/comments/2791852.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/54powerman/comments/commentRss/2791852.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2791852</trackback:ping><description>内心感慨，无语凝噎。。。。。。&lt;img src =&quot;http://blog.csdn.net/54powerman/aggbug/2791852.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Tue, 19 Aug 2008 05:00:00 +0800</pubDate><author>彗星撞地球</author><comments>http://blog.csdn.net/54powerman/archive/2008/08/18/2791852.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/54powerman/archive/2008/08/18/2791852.aspx</guid><dc:creator>彗星撞地球</dc:creator></item><item><title>Ajax 解析RSS</title><link>http://blog.csdn.net/54powerman/archive/2007/08/24/1757404.aspx</link><wfw:comment>http://blog.csdn.net/54powerman/comments/1757404.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/54powerman/comments/commentRss/1757404.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1757404</trackback:ping><description>RSS 
	
查找代码：
var doc = request.responseXML;
将该代码注释掉，并在下面添加：
doc = new ActiveXObject(&quot;Microsoft.XMLDOM&quot;);
var xml=bytes2BSTR(request.responseBody);
doc.loadXML(xml);
&lt;img src =&quot;http://blog.csdn.net/54powerman/aggbug/1757404.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Fri, 24 Aug 2007 21:54:00 +0800</pubDate><author>彗星撞地球</author><comments>http://blog.csdn.net/54powerman/archive/2007/08/24/1757404.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/54powerman/archive/2007/08/24/1757404.aspx</guid><dc:creator>彗星撞地球</dc:creator></item><item><title>oracle实现PDU编码</title><link>http://blog.csdn.net/54powerman/archive/2007/08/21/1752379.aspx</link><wfw:comment>http://blog.csdn.net/54powerman/comments/1752379.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/54powerman/comments/commentRss/1752379.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1752379</trackback:ping><description>oracle实现PDU编码
54powerman
一 UCS2编码函数
create or replace function UCS2Encode(orgString varchar2) return varchar2 is
  Result varchar2(255);
  dst varchar2(60);
  tmp varchar2(2);
  pos integer;
begin
  dst:='';
  pos:=length(orgString);
  while pos&gt;0
  loop
    tmp:=substr(orgString,pos,1);
    Result:=trim(upper(to_char(ascii(tmp),'0xxx'))) || Result;
    pos:=pos-1;
  end loop;
  return(Result);
end UCS2Encode;

二 UCS2解码函数

create or replace function UCS2Decode(pduString var&lt;img src =&quot;http://blog.csdn.net/54powerman/aggbug/1752379.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Tue, 21 Aug 2007 17:39:00 +0800</pubDate><author>彗星撞地球</author><comments>http://blog.csdn.net/54powerman/archive/2007/08/21/1752379.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/54powerman/archive/2007/08/21/1752379.aspx</guid><dc:creator>彗星撞地球</dc:creator></item><item><title>Axis2使用WebService的客户端实例</title><link>http://blog.csdn.net/54powerman/archive/2007/08/14/1743249.aspx</link><wfw:comment>http://blog.csdn.net/54powerman/comments/1743249.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/54powerman/comments/commentRss/1743249.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1743249</trackback:ping><description>Axis2使用WebService的客户端实例54powermanAxis2和Axis相比，增加了异步调用的方式，而且代码的使用更方便。本文用一个例子来描述如何快速使用Axis2来创建WebService客户端代码。1 准备环境(1)下载Axis2，并解压。官方网址：http://ws.apache.org/axis2/(2)设置环境变量SET AXIS2_HOME=解压后bin目录所在的目录，尽量不要有空格或中文SET PATH=%AXIS2_HOME%\bin;%PATH%(3) 修改bin目录中的wsdl2java.bat为了方便使用，以及避免一些NoClassFoundException类似的问题，修改wsdl2java.bat文件，查找：set _RUNJAVA=&quot;%JAVA_HOME%\bin\java&quot;在这一行下面增加如下一行set JAVA_OPTS=&quot;-Djava.ext.dirs=%AXIS2_HOME%\lib&quot;2 以一个WhoIs WebService为例：生成存根代码WSDL2Java&lt;img src =&quot;http://blog.csdn.net/54powerman/aggbug/1743249.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Wed, 15 Aug 2007 05:11:00 +0800</pubDate><author>彗星撞地球</author><comments>http://blog.csdn.net/54powerman/archive/2007/08/14/1743249.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/54powerman/archive/2007/08/14/1743249.aspx</guid><dc:creator>彗星撞地球</dc:creator></item><item><title>jsp发送html邮件</title><link>http://blog.csdn.net/54powerman/archive/2007/08/13/1740744.aspx</link><wfw:comment>http://blog.csdn.net/54powerman/comments/1740744.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/54powerman/comments/commentRss/1740744.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1740744</trackback:ping><description>Hell!&quot;,&quot;text/html;charset=gb2312&quot;);
////////////
MimeMultipart multipart = new MimeMultipart(&quot;related&quot;);
BodyPart body = new MimeBodyPart();
body.setContent(&quot;Hello!&quot;,&quot;text/html;charset=gb2312&quot;);
multipart.addBodyPart(body);
body = new MimeBodyPart();
DataSource fds = new FileDataSource(&quot;d:/0.jpg&quot;);
body.setDataHandler(new DataHandler(fds));
body.setHeader(&quot;Content-ID&quot;,&quot;&quot;);
multipart.addBodyPart(body);
newMessage.setContent(multipart);
////////////
newMessage.setFrom(new InternetA&lt;img src =&quot;http://blog.csdn.net/54powerman/aggbug/1740744.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Mon, 13 Aug 2007 23:06:00 +0800</pubDate><author>彗星撞地球</author><comments>http://blog.csdn.net/54powerman/archive/2007/08/13/1740744.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/54powerman/archive/2007/08/13/1740744.aspx</guid><dc:creator>彗星撞地球</dc:creator></item><item><title>VBS中inlcude另一个vbs脚本的方法</title><link>http://blog.csdn.net/54powerman/archive/2007/08/12/1739665.aspx</link><wfw:comment>http://blog.csdn.net/54powerman/comments/1739665.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/54powerman/comments/commentRss/1739665.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1739665</trackback:ping><description>VBS中inlcude另一个vbs脚本的方法54powerman' Test program for the IncludeFile and ReadConfigFile functions.' Author: Christian d'Heureuse (www.source-code.biz)' License: GNU/LGPL (http://www.gnu.org/licenses/lgpl.html)Option ExplicitDim fso: set fso = CreateObject(&quot;Scripting.FileSystemObject&quot;)' Includes a file in the global namespace of the current script.' The file can contain any VBScript source code.' The path of the file name must be specified relative to the' directory of the&lt;img src =&quot;http://blog.csdn.net/54powerman/aggbug/1739665.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Mon, 13 Aug 2007 01:49:00 +0800</pubDate><author>彗星撞地球</author><comments>http://blog.csdn.net/54powerman/archive/2007/08/12/1739665.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/54powerman/archive/2007/08/12/1739665.aspx</guid><dc:creator>彗星撞地球</dc:creator></item><item><title>jsp下载文本而不是打开</title><link>http://blog.csdn.net/54powerman/archive/2007/08/12/1739638.aspx</link><wfw:comment>http://blog.csdn.net/54powerman/comments/1739638.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/54powerman/comments/commentRss/1739638.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1739638</trackback:ping><description>&lt;br /&gt;最近好几个哥们问这个问题，写在这里备查吧。&lt;br /&gt;&lt;%&lt;br /&gt; response.setContentType(&quot;application/octet-stream&quot;);&lt;br /&gt; response.addHeader(&quot;Content-Disposition&quot;,&quot;attachment; filename=1.txt&quot;);&lt;br /&gt; out.print(&quot;First line text.\r\n&quot;);&lt;br /&gt; out.print(&quot;Second line.\r\n&quot;);&lt;br /&gt;%&gt; &lt;img src =&quot;http://blog.csdn.net/54powerman/aggbug/1739638.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Mon, 13 Aug 2007 00:56:00 +0800</pubDate><author>彗星撞地球</author><comments>http://blog.csdn.net/54powerman/archive/2007/08/12/1739638.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/54powerman/archive/2007/08/12/1739638.aspx</guid><dc:creator>彗星撞地球</dc:creator></item></channel></rss>