??xml version="1.0" encoding="utf-8" standalone="yes"?>亚州国产精品,欧美成人ⅴideosxxxxx,中文字幕在线免费观看视频http://www.aygfsteel.com/spinage/zh-cnThu, 19 Jun 2025 19:58:20 GMTThu, 19 Jun 2025 19:58:20 GMT60使用POI3.5Ӟ兼容Excel2007而发生的异常http://www.aygfsteel.com/spinage/archive/2011/03/16/346409.htmlspinagespinageWed, 16 Mar 2011 08:17:00 GMThttp://www.aygfsteel.com/spinage/archive/2011/03/16/346409.htmlhttp://www.aygfsteel.com/spinage/comments/346409.htmlhttp://www.aygfsteel.com/spinage/archive/2011/03/16/346409.html#Feedback1http://www.aygfsteel.com/spinage/comments/commentRss/346409.htmlhttp://www.aygfsteel.com/spinage/services/trackbacks/346409.html org.apache.poi.poifs.filesystem.OfficeXmlFileException: The supplied data appears to be in the Office 2007+ XML. You are calling the part of POI that deals with OLE2 Office Documents. You need to call a different part of POI to process this data (eg XSSF instead of HSSF)

        该错误意思是_(d)文g中的数据是用Office2007+XML保存的,而现在却调用OLE2 Office文处理Q应该用POI不同的部分来处理q些数据Q比如用XSSF来代替HSSF?br />
        于是按提CZ用XSSF代替HSSFQ用new XSSFWorkbook(excelFile)来读取WorkbookQ对Excel2007没有问题了,可是在读取Excel2003以前Q包?003Q的版本时却发生了如下新异常Q真是太(zhn)剧了)Q?br /> org.apache.poi.openxml4j.exceptions.InvalidOperationException: Can't open the specified file: '*.xls'
        该错误是_(d)操作无效Q不能打开指定的xls文g?br />
        下蝲POI的源码后q行单步调试Q发现刚开始的时候还是对的,但到ZipFilecd找不到文g了,到网上查了下Q原来是XSSF不能dExcel2003以前Q包?003Q的版本Q这L(fng)话,需要在d前判断文件是2003前的版本q是2007的版本,然后对应调用HSSF或XSSF来读取?br />         q是初步的想法,但这U做法比较麻烦,看了下APIQ发现XSSF和HSSF虽然在不同的包里Q但却引用了同一接口WorkbookQ于是想Cq样的读取方法:(x)
        Workbook book = null;
        try {
            book = new XSSFWorkbook(excelFile);
        } catch (Exception ex) {
            book = new HSSFWorkbook(new FileInputStream(excelFile));
        }
        在各版本的Excel中测试,没有发生异常Q问题解冟?

spinage 2011-03-16 16:17 发表评论
]]>
request.getRemoteAddr() 相关W记http://www.aygfsteel.com/spinage/archive/2011/03/16/346406.htmlspinagespinageWed, 16 Mar 2011 08:08:00 GMThttp://www.aygfsteel.com/spinage/archive/2011/03/16/346406.htmlhttp://www.aygfsteel.com/spinage/comments/346406.htmlhttp://www.aygfsteel.com/spinage/archive/2011/03/16/346406.html#Feedback1http://www.aygfsteel.com/spinage/comments/commentRss/346406.htmlhttp://www.aygfsteel.com/spinage/services/trackbacks/346406.html

spinage 2011-03-16 16:08 发表评论
]]>
sqlplus基本命o(h)http://www.aygfsteel.com/spinage/archive/2010/04/06/317562.htmlspinagespinageTue, 06 Apr 2010 08:04:00 GMThttp://www.aygfsteel.com/spinage/archive/2010/04/06/317562.htmlhttp://www.aygfsteel.com/spinage/comments/317562.htmlhttp://www.aygfsteel.com/spinage/archive/2010/04/06/317562.html#Feedback0http://www.aygfsteel.com/spinage/comments/commentRss/317562.htmlhttp://www.aygfsteel.com/spinage/services/trackbacks/317562.html假设当前已执行:(x)select * from tab;

   (a)ppend d文本到缓冲区当前行尾

       例:(x) SQL>a  order by tname

  l果Qselect * from tab order by tname;

  Q注Qa后面?个空|

  (c)hange/old/new 在当前行用新的文本替换旧的文?/strong>

  例:(x)SQL>c/*/tname

  l果Qselect tname from tab;

  (c)hange/text 从当前行删除文本

  例:(x)SQL>c/tab

  l果Qselect tname from ;

   del 删除当前?/strong>

    del n 删除Wn?/strong> 

  (i)nput 文本 在当前行之后d一?/strong> 

  (l)ist 昄~冲Z所有行 

  (l)ist n 昄~冲ZW?n ?/strong> 

  (l)ist m n 昄~冲Z m ?n ?/strong>

  (r)un 执行当前~冲区的命o(h)

  /  执行当前~冲区的命o(h)

  @文g?/em> q行调入内存的sql文g

     例:(x)SQL> edit s<回R>

  如果当前目录下不存在s.sql文gQ则pȝ自动生成s.sql文gQ?/p>

  在其中输?#8220;select * from tab;”Q存盘退出?/p>

  SQL> @s<回R>

    pȝ?x)自动查询当前用户下的所有表、视图、同义词?/p>

      @@文g?/em> ?sql文g中调用另一?sql文g时?/strong>

      例:(x)SQL>edit test<回R>

           在其中输?@s"Q存盘退出。(q里sZ例中创徏的sql文gQ?/p>

           SQL>@@test<回R>

           l果是执行了文件s.sql中的语法Q自动查询当前用户下的所有表、视图、同义词?

  save 文g?/em>             缓冲区的命令以文g方式存盘Q缺省文件扩展名?sql

  get 文g?/em>           调入存盘的sql文g

  start 文g?/em>         q行调入内存的sql文g

  spool 文g?/em>        把这之后的各U操作及(qing)执行l果“假脱?#8221;卛_盘到盘文g上,默认文g扩展名ؓ(f).lst

    spool                 昄当前?#8220;假脱?#8221;状?/strong>

    spool off            停止输出

  例:(x)

  SQL> spool a

  SQL> spool

  正假脱机?A.LST

  SQL> spool off

  SQL> spool

  当前无假脱机

  exit             退出SQL*PLUS

  desc 表名     昄表的l构

  show user     昄当前q接用户

  show error    昄错误

  show all       昄所?8个系l变量?/strong>

  edit                打开默认~辑器,W(xu)indowspȝ中默认是notepad.exeQ把~冲Z最后一条SQL语句调入afiedt.buf文g中进行编?/strong>

    edit 文g名   把当前目录中指定?sql文g调入~辑器进行编?/strong>

   clear screen   清空当前屏幕昄



spinage 2010-04-06 16:04 发表评论
]]>
myeclipse Ljs或jsp错误提示http://www.aygfsteel.com/spinage/archive/2010/04/06/317544.htmlspinagespinageTue, 06 Apr 2010 05:29:00 GMThttp://www.aygfsteel.com/spinage/archive/2010/04/06/317544.htmlhttp://www.aygfsteel.com/spinage/comments/317544.htmlhttp://www.aygfsteel.com/spinage/archive/2010/04/06/317544.html#Feedback2http://www.aygfsteel.com/spinage/comments/commentRss/317544.htmlhttp://www.aygfsteel.com/spinage/services/trackbacks/317544.htmlMyEclipse?font face="Times New Roman">WEB工程里面?font face="Times New Roman">JS/JSPl常?x)?strong style="color: black; background-color: #a0ffff">语法错误提示Q这是由?font face="Times New Roman">MyEclipse对其语法要求相当严格所造成的,而这些文件本w是可以q行q没有什么错误的Q在你实际应用部|中q无影响.

此问题解军_法有两种Q?/font>

一、就是?zhn)不用ȝ它提C,直接部vC?font face="Times New Roman">WEB容器上运行是可以的,但此Ҏ(gu)Ơ妥当?/font>

二、选择你的工程叛_菜单—?font face="Times New Roman">>点击MyEclipse菜单的Exclude From ValidationQ如果你的工E里q有其它需要它验其合法性徏议可以针Ҏ(gu)一文gҎ(gu)具体文gq行此项操作Q这样可以只针对WEB工程里的某一个文件夹里面?font face="Times New Roman">JSP/JS文g来进?strong style="color: black; background-color: #99ff99">验证排除Q这样就不会(x)对这些被排除的文件或文g夹进?strong style="color: black; background-color: #99ff99">验证了,不过再你打开q些文gӞ文g里面是有错误提示的,但工E是不会(x)出现语法错误提示的。这样不仅解决了工程LC?strong style="color: black; background-color: #a0ffff">语法信息错误的烦|对于一些确实存在问题的文g也可以查看其错误问题所在,可谓一举两得?/font>

另外q可以通过使用Remove All Validation Markers此菜单项q移除所有的验证语法错误提示信息?/font>



spinage 2010-04-06 13:29 发表评论
]]>
Tomcat:IOException while loading persisted sessions: java.io.EOFException解决 http://www.aygfsteel.com/spinage/archive/2010/03/24/316400.htmlspinagespinageWed, 24 Mar 2010 01:57:00 GMThttp://www.aygfsteel.com/spinage/archive/2010/03/24/316400.htmlhttp://www.aygfsteel.com/spinage/comments/316400.htmlhttp://www.aygfsteel.com/spinage/archive/2010/03/24/316400.html#Feedback0http://www.aygfsteel.com/spinage/comments/commentRss/316400.htmlhttp://www.aygfsteel.com/spinage/services/trackbacks/316400.html IOException while loading persisted sessions: java.io.EOFException解决

严重: IOException while loading persisted sessions: java.io.EOFException
严重: Exception loading sessions from persistent storage

原因是tomcat对硬盘的sessiondp|Q彻底解军_法一下:(x)work下面的文件清I,主要?.ser文gQ或者只是删除掉session.ser卛_以解冟?

spinage 2010-03-24 09:57 发表评论
]]>
eclipse 无法启动 JVM terminated. Exit code=-1 http://www.aygfsteel.com/spinage/archive/2010/01/26/310814.htmlspinagespinageTue, 26 Jan 2010 01:12:00 GMThttp://www.aygfsteel.com/spinage/archive/2010/01/26/310814.htmlhttp://www.aygfsteel.com/spinage/comments/310814.htmlhttp://www.aygfsteel.com/spinage/archive/2010/01/26/310814.html#Feedback0http://www.aygfsteel.com/spinage/comments/commentRss/310814.htmlhttp://www.aygfsteel.com/spinage/services/trackbacks/310814.htmleclipse 无法启动 JVM terminated. Exit code=-1
eclipse.ini中内存设|过大的问题Q以前我修改q内存设|,一直都好好的,之前eclipse.ini的配|如下:(x)

 

-showsplash
com.genuitec.myeclipse.product
--launcher.XXMaxPermSize
512m
-vmargs
-Xms256m
-Xmx512m
-Duser.language=en
-XX:PermSize=256M
-XX:MaxPermSize=512M

现在修改了一下,-Xms256mҎ(gu)-Xms128mQ把Xmx512m  改ؓ(f) Xmx256mQ结果还真的好了Q没惛_居然是这L(fng)问题引h的?/p>

====================================================================================

W二个,我们的项目采用svn理Q查?svnQ把所?svn的文件删?/p>

W三个,查看目Ҏ(gu)件夹下的.metadataQ发?metadata下面差很多插?把现有项目的.metadate覆盖q去卛_

 



spinage 2010-01-26 09:12 发表评论
]]>
oracle 不走索引的几U情?/title><link>http://www.aygfsteel.com/spinage/archive/2010/01/14/309461.html</link><dc:creator>spinage</dc:creator><author>spinage</author><pubDate>Thu, 14 Jan 2010 07:16:00 GMT</pubDate><guid>http://www.aygfsteel.com/spinage/archive/2010/01/14/309461.html</guid><wfw:comment>http://www.aygfsteel.com/spinage/comments/309461.html</wfw:comment><comments>http://www.aygfsteel.com/spinage/archive/2010/01/14/309461.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/spinage/comments/commentRss/309461.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/spinage/services/trackbacks/309461.html</trackback:ping><description><![CDATA[<span style="font-size: 12pt; font-family: 宋体"><span style="font-family: 宋体">  </span> <p style="line-height: 150%"><span style="line-height: 150%; font-family: 宋体"><span style="font-family: 宋体">1</span></span><span style="line-height: 150%; font-family: 宋体"><span style="font-family: 宋体">、徏立组合烦引,但查询谓词ƈ未用组合烦引的W一列,此处有一个INDEX SKIP SCAN概念?<br /> 2、在包含有null值的table列上建立索引Q当时用select count(*) from table时不?x)用烦引?<br /> 3、在索引列上使用函数时不?x)用烦引,如果一定要使用索引只能建立函数索引?<br /> 4、当被烦引的列进行隐式的cd转换时不?x)用烦引。如:select * from t where indexed_column = 5Q而indexed_column列徏立烦引但cd是字W型Q这时Oracle?x)?<br /> 隐式的类型{换,转换后的语句cM于select * from t where to_number(indexed_column) = 5Q此时不走烦引的情况cM于case3。日期{换也有类似问题,? <br /> select * from t where trunc(date_col) = trunc(sysdate)其中date_col为烦引列Q这样写不会(x)走烦引,可改写成select * from t where date_col >= trunc(sysdate) <br /> and date_col < trunc(sysdate+1)Q此查询?x)走索引?<br /> 5、ƈ不是所有情况用烦引都?x)加快查询速度Qfull scan table 有时?x)更快,其是当查询的数据量占整个表的比重较大时Q因为full scan table采用的是多块读, <br /> 当Oracle优化器没有选择使用索引时不要立卛_制用,要充分证明用烦引确实查询更快时再用强制烦引?</span></span></p> <p style="line-height: 150%"><span style="font-family: 宋体"><span style="line-height: 150%; font-family: 宋体">6</span><span style="line-height: 150%; font-family: 宋体">?lt;></span></span></p> <p style="line-height: 150%"><span style="line-height: 150%; font-family: 宋体"><span style="font-family: 宋体">7</span></span><span style="line-height: 150%; font-family: 宋体"><span style="font-family: 宋体">、like’%dd’癑ֈ号在?br /> </span></span></p> <span style="font-family: 宋体">8、not in ,not exist. </span></span><span style="font-family: 宋体"> </span> <img src ="http://www.aygfsteel.com/spinage/aggbug/309461.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/spinage/" target="_blank">spinage</a> 2010-01-14 15:16 <a href="http://www.aygfsteel.com/spinage/archive/2010/01/14/309461.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>取中文首字母Q支持繁体字Q及(qing)一些比较偏的字 如:(x)怡)http://www.aygfsteel.com/spinage/archive/2009/11/27/303866.htmlspinagespinageFri, 27 Nov 2009 02:30:00 GMThttp://www.aygfsteel.com/spinage/archive/2009/11/27/303866.htmlhttp://www.aygfsteel.com/spinage/comments/303866.htmlhttp://www.aygfsteel.com/spinage/archive/2009/11/27/303866.html#Feedback0http://www.aygfsteel.com/spinage/comments/commentRss/303866.htmlhttp://www.aygfsteel.com/spinage/services/trackbacks/303866.html  
public static String getAllFirstLetter(String str) {
  String convert = "";
  for (int j = 0; j < str.length(); j++) {
   char word = str.charAt(j);
   String[] pinyinArray = PinyinHelper.toHanyuPinyinStringArray(word);
   if (pinyinArray != null) {
    convert += pinyinArray[0].charAt(0);
   } else {
    convert += word;
   }
  }
  return convert;
 }

spinage 2009-11-27 10:30 发表评论
]]>
单对Facade模式的理?/title><link>http://www.aygfsteel.com/spinage/archive/2009/11/27/303864.html</link><dc:creator>spinage</dc:creator><author>spinage</author><pubDate>Fri, 27 Nov 2009 02:25:00 GMT</pubDate><guid>http://www.aygfsteel.com/spinage/archive/2009/11/27/303864.html</guid><wfw:comment>http://www.aygfsteel.com/spinage/comments/303864.html</wfw:comment><comments>http://www.aygfsteel.com/spinage/archive/2009/11/27/303864.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/spinage/comments/commentRss/303864.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/spinage/services/trackbacks/303864.html</trackback:ping><description><![CDATA[<p> 在许多开源的框架中都充分的利用了设计模式q一概念QStruts典型的MVC模式的化w,Spring是工厂模式和单例模式的充分体现。在目开发中Q能充分利用设计模式的思想来考虑问题Q来解决问题Q来通过代码d现。不但可以提高代码的质量Q对E序的扩展,重用带来很大方便。其实我们项目中用设计模式编E就是加了一个封装层Q减客户必d理的对象的数量?br /> </p>  在设计模式中一般都遵@q样的原则:(x)<br />       (1)按接口编E?br />       (2)量用聚合代替ѝ?br />       (3)扑և变化q封装之?br />      上面主要讲了一些设计模式的作用和原则。接下来是我寚w面模式的一个简单理解。FacadeQ门面模式)是美国著名的四h帮(GOFQ写?3U模式之一?br />        单的理解Q我们需要用一U比原有的方法更单的Ҏ(gu)与系l交互,或者说Q我们需要以一U特D的方式使用pȝ。主要是为子pȝ中的一l接口提供一个统一的接口。Facade模式定义了一个更高的接口Q子系l更加容易用。它的意图要求一个一致的高层接口?br /> <img src ="http://www.aygfsteel.com/spinage/aggbug/303864.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/spinage/" target="_blank">spinage</a> 2009-11-27 10:25 <a href="http://www.aygfsteel.com/spinage/archive/2009/11/27/303864.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>序列?/title><link>http://www.aygfsteel.com/spinage/archive/2009/11/24/303429.html</link><dc:creator>spinage</dc:creator><author>spinage</author><pubDate>Tue, 24 Nov 2009 03:01:00 GMT</pubDate><guid>http://www.aygfsteel.com/spinage/archive/2009/11/24/303429.html</guid><wfw:comment>http://www.aygfsteel.com/spinage/comments/303429.html</wfw:comment><comments>http://www.aygfsteel.com/spinage/archive/2009/11/24/303429.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/spinage/comments/commentRss/303429.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/spinage/services/trackbacks/303429.html</trackback:ping><description><![CDATA[序列化机制只保存对象的类型信息,属性的cd信息和属性|和方法没有什么关p,你就是给q个cd?0000个方法,序列化内容也不会(x)增加M东西? <img src ="http://www.aygfsteel.com/spinage/aggbug/303429.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/spinage/" target="_blank">spinage</a> 2009-11-24 11:01 <a href="http://www.aygfsteel.com/spinage/archive/2009/11/24/303429.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> վ֩ģ壺 <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">Ϫ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">Ͻ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ɽ</a>| <a href="http://" target="_blank">ƺ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">Ѱ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ʻ</a>| <a href="http://" target="_blank">ӯ</a>| <a href="http://" target="_blank">º</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">Ӳ</a>| <a href="http://" target="_blank">Զ</a>| <a href="http://" target="_blank">廪</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ʯȪ</a>| <a href="http://" target="_blank">ֹ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">¬</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">׼</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>