流易

日日行,不怕千万里;常常做,不怕千万事。(https://github.com/poazy)

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年3月31日

摘要: /** * 将页面设置为只读 */var setReadOnly = function(){ var input = $("input"); input.each(function(i) { $(this).attr("onfocus", "this.blur();return false;"); $(this).wrap(function() { return '<span onmousemove="this.setCapture();" onmouseout="this.releaseC 阅读全文
posted @ 2013-03-31 23:47 流易 阅读(491) 评论(0) 推荐(0) 编辑

摘要: select table_name from user_tables where NUM_ROWS=0;select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0; 阅读全文
posted @ 2013-03-31 23:43 流易 阅读(361) 评论(0) 推荐(1) 编辑

摘要: 阅读全文
posted @ 2013-03-31 23:40 流易 阅读(305) 评论(0) 推荐(0) 编辑

摘要: 1、环境: OS:Windows 7 64bit Java:j2sdk1.4.2_07 Tomcat:jakarta-tomcat-5.0.302、问题: 通过 new Date() 或Calendar.getInstance().getTime() 的时间与系统时间差8小时 如:通过new Date() 或Calendar.getInstance().getTime()得到的时间是 2012-06-07 2:57:00 而系统时间是 2012-06-07 10:57:003、解决方法: 修改注册表,打开系统注册表定位到HKEY_LOCAL_MACHINE/SOFTWARE/Mic... 阅读全文
posted @ 2013-03-31 23:18 流易 阅读(4602) 评论(0) 推荐(0) 编辑

摘要: 在<Connector /> 中加入 URIEncoding="UTF-8" 属性:<Connector port="8080"protocol="org.apache.coyote.http11.Http11NioProtocol" connectionTimeout="20000" URIEncoding="UTF-8" redirectPort="8443" /> 阅读全文
posted @ 2013-03-31 23:17 流易 阅读(400) 评论(0) 推荐(0) 编辑

摘要: 问题描述:1、在win7 + tomcat5.5 应用,只能通过loaclhost 或 计算机名 访问应用,用127.0.0.1、IP 及 局域网其他计算机都访问不了;2、没有安装什么防火墙、杀毒的等等。环境: Win7 SP1 X64 U版、Tomcat 5.5.31解决方法: 修改tomcat 的server.xml文件,在Connector中加上address="0.0.0.0"就好了。 <Connectorport="8080"maxHttpHeaderSize="8192"address="0.0.0.0&q 阅读全文
posted @ 2013-03-31 23:12 流易 阅读(245) 评论(0) 推荐(0) 编辑

摘要: 错误提示:INST-07248: Specified OEPE home location is not a valid location Enter a valid OEPE home location通过网络得知答案:是由于OEPE与OSB的版本不匹配造成的。OEPE与OSB、WebLogic的版本匹配关系:OSB Weblogic ServerEPE11.1.1.6.0 10.3.611.1.1.8.011.1.1.5.0 10.3.511.1.1.7.211.1.1.4.0 10.3.411.1.1.6.111.1.1.3... 阅读全文
posted @ 2013-03-31 23:11 流易 阅读(837) 评论(0) 推荐(0) 编辑