<?xml version="1.0" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="css/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>Lopoincare's Blog - 技术</title><link>http://www.lopoincare.cn/</link><description>To be is to do. - </description><generator>RainbowSoft Studio Z-Blog 1.8 Arwen Build 90619</generator><language>zh-CN</language><copyright>Copyright &amp;amp;copy; Lopoincare's 博客</copyright><pubDate>Thu, 09 Sep 2010 10:12:03 +0800</pubDate><item><title>兼容Firefox的JavaScript回车提交表单</title><author>leopoincare@hotmail.com (lopoincare)</author><link>http://www.lopoincare.cn/technology/161.htm</link><pubDate>Thu, 12 Aug 2010 09:38:08 +0800</pubDate><guid>http://www.lopoincare.cn/technology/161.htm</guid><description><![CDATA[<p>发现没有用&lt;Form&gt;标签和form.submit方法的回车提交在firefox下面不工作，因为FireFox不捕捉回车事件。一般在IE下实现回车可以这样：<br />&lt;INPUT TYPE=text NAME=&quot;hanbai_cd&quot; SIZE=20 maxlength = 8 onkeydown=KeyDown()&gt;</p>]]></description><category>技术</category><comments>http://www.lopoincare.cn/technology/161.htm#comment</comments><wfw:comment>http://www.lopoincare.cn/</wfw:comment><wfw:commentRss>http://www.lopoincare.cn/feed.asp?cmt=161</wfw:commentRss><trackback:ping>http://www.lopoincare.cn/cmd.asp?act=tb&amp;id=161&amp;key=1b2a7d9b</trackback:ping></item><item><title>在struts2中使用uploadify实现多文件上传</title><author>leopoincare@hotmail.com (lopoincare)</author><link>http://www.lopoincare.cn/technology/160.htm</link><pubDate>Tue, 10 Aug 2010 14:00:36 +0800</pubDate><guid>http://www.lopoincare.cn/technology/160.htm</guid><description><![CDATA[<p>折磨了我半个月的ssh2中实现多文件上传终于搞定了,总结一下需要记住的吧:</p><p><strong>页面中的:</strong><br />js部分代码:<br />my_upload.action<span style="color: #ff0000">;jsessionid=&lt;%=session.getId()%&gt;', //可以很有效的解决在ff下的session问题<br /><font color="#000000">$('#fileupload').uploadifySettings('scriptData',arrays); </font><span style="color: #3366ff">//传递多个参数<font color="#000000">$('#fileupload').uploadifySettings('scriptData',arrays); </font><span style="color: #3366ff">//传递多个参数</span></span></span></p>]]></description><category>技术</category><comments>http://www.lopoincare.cn/technology/160.htm#comment</comments><wfw:comment>http://www.lopoincare.cn/</wfw:comment><wfw:commentRss>http://www.lopoincare.cn/feed.asp?cmt=160</wfw:commentRss><trackback:ping>http://www.lopoincare.cn/cmd.asp?act=tb&amp;id=160&amp;key=359a08a3</trackback:ping></item><item><title>分享:&amp;lt;s:radio/&amp;gt;标签默认选中值</title><author>leopoincare@hotmail.com (lopoincare)</author><link>http://www.lopoincare.cn/technology/159.htm</link><pubDate>Fri, 09 Jul 2010 12:00:25 +0800</pubDate><guid>http://www.lopoincare.cn/technology/159.htm</guid><description><![CDATA[<p>今天做项目的时候遇到了&lt;s:radio/&gt;标签默认选中值的问题,搞了好长时间,功夫不负用心人终于解决了,O(&cap;_&cap;)O哈哈~ <br />(同事也遇到过这个问题,好像没解决,就直接用HTML标签了,当时就是事不关己高高挂起,没去理会,结果自己遇上了,索性还好,还是解决了,happy...)</p><p>总结了以下两种方法：<br />1、遇到value是字符串的时候(开始我没加单引号搞了好久,Struts2跟我开玩笑一样就是不选中,就好像你奈我何,直接晕倒,想了一下,加上单引号就OK了,让它忽悠我,还不是搞定了,O(&cap;_&cap;)O~)</p>]]></description><category>技术</category><comments>http://www.lopoincare.cn/technology/159.htm#comment</comments><wfw:comment>http://www.lopoincare.cn/</wfw:comment><wfw:commentRss>http://www.lopoincare.cn/feed.asp?cmt=159</wfw:commentRss><trackback:ping>http://www.lopoincare.cn/cmd.asp?act=tb&amp;id=159&amp;key=b5b0c4f0</trackback:ping></item><item><title>分享:struts2 中OGNL表达式的使用</title><author>leopoincare@hotmail.com (lopoincare)</author><link>http://www.lopoincare.cn/technology/158.htm</link><pubDate>Thu, 08 Jul 2010 18:59:41 +0800</pubDate><guid>http://www.lopoincare.cn/technology/158.htm</guid><description><![CDATA[<p><strong>struts2 中 OGNL表达式的使用struts2 中 OGNL表达式的使用</strong></p><p><font size="3">Struts 2默认的表达式语言是OGNL,原因是它相对其它表达式语言具有下面几大优势:</font><p><font size="3">支持对象方法调用,如xxx.doSomeSpecial();<br />支持类静态的方法调用和值访问,表达式的格式为@[类全名(包括包路径)]@[方法名 | 值名],例如:@java.lang.String@format('foo %s', 'bar')或@tutorial.MyConstant@APP_NAME;</font></p></p><p><font size="3"><p><font size="3">Struts 2默认的表达式语言是OGNL,原因是它相对其它表达式语言具有下面几大优势:</font></p><p><font size="3">支持对象方法调用,如xxx.doSomeSpecial();<br />支持类静态的方法调用和值访问,表达式的格式为@[类全名(包括包路径)]@[方法名 | 值名],例如:@java.lang.String@format('foo %s', 'bar')或@tutorial.MyConstant@APP_NAME;</font></p></font></p>]]></description><category>技术</category><comments>http://www.lopoincare.cn/technology/158.htm#comment</comments><wfw:comment>http://www.lopoincare.cn/</wfw:comment><wfw:commentRss>http://www.lopoincare.cn/feed.asp?cmt=158</wfw:commentRss><trackback:ping>http://www.lopoincare.cn/cmd.asp?act=tb&amp;id=158&amp;key=46e4dc94</trackback:ping></item><item><title>struts2+tiles布局开发</title><author>leopoincare@hotmail.com (lopoincare)</author><link>http://www.lopoincare.cn/technology/157.htm</link><pubDate>Tue, 06 Jul 2010 22:52:19 +0800</pubDate><guid>http://www.lopoincare.cn/technology/157.htm</guid><description><![CDATA[<p><strong>tiles.xml 内容</strong></p><p>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br />&lt;!DOCTYPE tiles-definitions PUBLIC &quot;-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN&quot; &quot;<a href="http://tiles.apache.org/dtds/tiles-config_2_0.dtd">http://tiles.apache.org/dtds/tiles-config_2_0.dtd</a>&quot; &gt;<br />&lt;tiles-definitions&gt;</p>]]></description><category>技术</category><comments>http://www.lopoincare.cn/technology/157.htm#comment</comments><wfw:comment>http://www.lopoincare.cn/</wfw:comment><wfw:commentRss>http://www.lopoincare.cn/feed.asp?cmt=157</wfw:commentRss><trackback:ping>http://www.lopoincare.cn/cmd.asp?act=tb&amp;id=157&amp;key=c84a2489</trackback:ping></item><item><title>Unable to locate Spring NamespaceHandler for XML错误原因</title><author>leopoincare@hotmail.com (lopoincare)</author><link>http://www.lopoincare.cn/technology/155.htm</link><pubDate>Wed, 30 Jun 2010 17:44:18 +0800</pubDate><guid>http://www.lopoincare.cn/technology/155.htm</guid><description><![CDATA[<p>spring使用过程中错误<br />严重: Context initialization failed<br />org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/context]</p>]]></description><category>技术</category><comments>http://www.lopoincare.cn/technology/155.htm#comment</comments><wfw:comment>http://www.lopoincare.cn/</wfw:comment><wfw:commentRss>http://www.lopoincare.cn/feed.asp?cmt=155</wfw:commentRss><trackback:ping>http://www.lopoincare.cn/cmd.asp?act=tb&amp;id=155&amp;key=e70a90fe</trackback:ping></item><item><title>转载:把JSP放到WEB-INF后以保护JSP源代码</title><author>leopoincare@hotmail.com (lopoincare)</author><link>http://www.lopoincare.cn/technology/154.htm</link><pubDate>Wed, 30 Jun 2010 09:27:05 +0800</pubDate><guid>http://www.lopoincare.cn/technology/154.htm</guid><description><![CDATA[<p>&nbsp;&nbsp;&nbsp; 本人在看《J2EE核心模式》(&quot;Core J2ee Patterns&quot;,刘天北、熊节译),里面提到了一种实现资源保护的方法,那就是把那些限制访问的资源(比如说jsp源代码)放到Web应用的WEB-INF目录下,对于/web-INF/及其子目录,不允许直接的公共访问,所以就可以起到保护这些代码未经授权的访问和窥视,更好的保护了源代码(19页).</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 这么书只是对这种方法进行了简单的介绍,没有描述详细处理方法,我测试了一下,没有办法对放到/WEB-INF的文件进行访问,所以我就上网搜索了一下,才明白了具体的处理方法,感觉非常适合用在STRUTS结构上的系统.下面请听我详细说明.</p>]]></description><category>技术</category><comments>http://www.lopoincare.cn/technology/154.htm#comment</comments><wfw:comment>http://www.lopoincare.cn/</wfw:comment><wfw:commentRss>http://www.lopoincare.cn/feed.asp?cmt=154</wfw:commentRss><trackback:ping>http://www.lopoincare.cn/cmd.asp?act=tb&amp;id=154&amp;key=9d6e7203</trackback:ping></item><item><title>tomcat启动错误:Error initializing endpoint 解决方法</title><author>leopoincare@hotmail.com (lopoincare)</author><link>http://www.lopoincare.cn/technology/151.htm</link><pubDate>Tue, 22 Jun 2010 19:26:29 +0800</pubDate><guid>http://www.lopoincare.cn/technology/151.htm</guid><description><![CDATA[<p>tomcat启动报错:解决方法<br /><br />&nbsp;严重: Error initializing endpoint&nbsp;</p><div style="font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 19px; ">org.apache.tomcat.jni.Error: ??????????&oacute;??Э?鲻???????&nbsp;</div><div style="font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 19px; ">at org.apache.tomcat.jni.Socket.create(Native Method)&nbsp;</div><div style="font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 19px; ">at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:612)&nbsp;</div><div style="font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 19px; ">at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107)&nbsp;</div><div style="font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 19px; ">at org.apache.catalina.connector.Connector.initialize(Connector.java:1058)&nbsp;</div><div style="font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 19px; ">at org.apache.catalina.core.StandardService.initialize(StandardService.java:677)&nbsp;</div><div style="font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 19px; ">at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)&nbsp;</div>]]></description><category>技术</category><comments>http://www.lopoincare.cn/technology/151.htm#comment</comments><wfw:comment>http://www.lopoincare.cn/</wfw:comment><wfw:commentRss>http://www.lopoincare.cn/feed.asp?cmt=151</wfw:commentRss><trackback:ping>http://www.lopoincare.cn/cmd.asp?act=tb&amp;id=151&amp;key=32135859</trackback:ping></item><item><title>struts-config内容,ssh整合</title><author>leopoincare@hotmail.com (lopoincare)</author><link>http://www.lopoincare.cn/technology/150.htm</link><pubDate>Mon, 21 Jun 2010 15:22:52 +0800</pubDate><guid>http://www.lopoincare.cn/technology/150.htm</guid><description><![CDATA[<p><strong>ssh整合 struts-config内容:<br /></strong>&lt;action-mappings &gt;<br />&nbsp;&nbsp;&nbsp; &lt;action path=&quot;/student&quot; type=&quot;org.springframework.web.struts.DelegatingActionProxy&quot; name=&quot;stuForm&quot; parameter=&quot;operate&quot;&gt;&nbsp;<br />&nbsp;&lt;forward name=&quot;index&quot; path=&quot;/index.jsp&quot;&gt;&lt;/forward&gt;</p>]]></description><category>技术</category><comments>http://www.lopoincare.cn/technology/150.htm#comment</comments><wfw:comment>http://www.lopoincare.cn/</wfw:comment><wfw:commentRss>http://www.lopoincare.cn/feed.asp?cmt=150</wfw:commentRss><trackback:ping>http://www.lopoincare.cn/cmd.asp?act=tb&amp;id=150&amp;key=e45eedac</trackback:ping></item><item><title>ssh结合spring文件内容</title><author>leopoincare@hotmail.com (lopoincare)</author><link>http://www.lopoincare.cn/technology/149.htm</link><pubDate>Mon, 21 Jun 2010 15:21:24 +0800</pubDate><guid>http://www.lopoincare.cn/technology/149.htm</guid><description><![CDATA[<p>ssh结合spring文件内容:<br />&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</p><p>&lt;beans xmlns=&quot;<a href="http://www.springframework.org/schema/beans">http://www.springframework.org/schema/beans</a>&quot;<br />&nbsp;xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>&quot;<br />&nbsp;xmlns:aop=&quot;<a href="http://www.springframework.org/schema/aop">http://www.springframework.org/schema/aop</a>&quot;</p>]]></description><category>技术</category><comments>http://www.lopoincare.cn/technology/149.htm#comment</comments><wfw:comment>http://www.lopoincare.cn/</wfw:comment><wfw:commentRss>http://www.lopoincare.cn/feed.asp?cmt=149</wfw:commentRss><trackback:ping>http://www.lopoincare.cn/cmd.asp?act=tb&amp;id=149&amp;key=735de862</trackback:ping></item><item><title>linux下安装配置tomcat详解</title><author>leopoincare@hotmail.com (lopoincare)</author><link>http://www.lopoincare.cn/technology/147.htm</link><pubDate>Sat, 19 Jun 2010 17:27:11 +0800</pubDate><guid>http://www.lopoincare.cn/technology/147.htm</guid><description><![CDATA[<p style="font-size: 16px; font-family: 黑体;"><b>Linux下Tomcat的安装</b></p><p><b>１．下载Tomcat</b></p><p>在下面的地址下载Tomcat的二进制版</p><p>&nbsp;&nbsp;&nbsp; <a href="http://apache.freelamp.com/tomcat/tomcat-6/v6.0.26/bin/apache-tomcat-6.0.26.tar.gz">http://apache.freelamp.com/tomcat/tomcat-6/v6.0.26/bin/apache-tomcat-6.0.26.tar.gz</a></p><p>即下载文件&nbsp;&nbsp;&nbsp; apache-tomcat-6.0.26.tar.gz</p>]]></description><category>技术</category><comments>http://www.lopoincare.cn/technology/147.htm#comment</comments><wfw:comment>http://www.lopoincare.cn/</wfw:comment><wfw:commentRss>http://www.lopoincare.cn/feed.asp?cmt=147</wfw:commentRss><trackback:ping>http://www.lopoincare.cn/cmd.asp?act=tb&amp;id=147&amp;key=55ab4048</trackback:ping></item><item><title>分享: oracle日期函数集锦</title><author>leopoincare@hotmail.com (lopoincare)</author><link>http://www.lopoincare.cn/technology/146.htm</link><pubDate>Sat, 19 Jun 2010 08:57:42 +0800</pubDate><guid>http://www.lopoincare.cn/technology/146.htm</guid><description><![CDATA[<div>oracle日期函数集锦</div><div>&nbsp;</div><div>一、 常用日期数据格式</div><div>1.Y或YY或YYY 年的最后一位,两位或三位</div><div>SQL&gt; Select to_char(sysdate,'Y') from dual;</div><div>TO_CHAR(SYSDATE,'Y')</div>]]></description><category>技术</category><comments>http://www.lopoincare.cn/technology/146.htm#comment</comments><wfw:comment>http://www.lopoincare.cn/</wfw:comment><wfw:commentRss>http://www.lopoincare.cn/feed.asp?cmt=146</wfw:commentRss><trackback:ping>http://www.lopoincare.cn/cmd.asp?act=tb&amp;id=146&amp;key=3eca5aa7</trackback:ping></item></channel></rss>
