`
free_xiang
  • 浏览: 51128 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论
文章列表
A.不使用递归:import java.io.File;import java.util.LinkedList;public class FileSystem { public static void main(String[] args) { long a = System.currentTimeMillis(); LinkedList list = new LinkedList(); File dir = new File("c:\\java\\"); File file[] = dir.listFiles(); for (int i = 0; i < ...
1.Security error. You probably don't have enough permissions to upload. Please check your server.You are not authorized to browse/list files and/or folders!如果出现以上两句话中的一句,那么说明需要在fckeditor.properties文件里面添加:connector.userActionImpl=net.fckeditor.requestcycle.impl.EnabledUserAction2.上传文件老是停留在上传界面,图片传不上去。 ...
从jsp 1.1规范开始,jsp就支持在jsp中使用自定义标签了,自定义标签的广泛使用造成了程序员重复定义,这样就促成了jstl(javaserver pages standard tag library)的诞生。 因为工作中需要用到jstl,但网上却苦于找不到有关jstl的中文资料,所以就有了这篇文章。 jstl简介 jstl是一个不断完善的开放源代码的jsp标签库,是由apache的jakarta小组来维护的。jstl只能运行在支持jsp1.2和servlet2.3规范的容器上,如tomcat 4.x。但是在即将推出的jsp 2.0中是作为标准支持的。 jstl目前的最新版本为1.02,最终 ...
今天我们继续介绍Android平台底层绘图类的相关内容,在Android UI开发专题(一) 之界面设计中我们介绍了有关Android平台资源使用以及Bitmap相关类的操作,接下来将会以实例的方式给大家演示各种类的用处以及注意点。今天我们继续 ...
Android模拟器调试与真机调试 一、 模拟器调试与真机调试 1. 模拟器调试运行源码或SDK中的emulator,加参数 2. 真机调试 1) 用usb线连接G1硬件和
1、android 如何删除sqlite数据从cmd进入android sdk下的tools目录键入adb shell然后cd /data/data/你的工程(com.test.TestActivity/databases)到数据库目录下,你想删哪个就rm **衍生问题:如何查看当前目录下都有些什么文件呢?使用ls而不是dir活着list 2、切换屏幕在 Windows 作業系統上按下 「Ctrl」和「F12」鍵 ,或是在 Mac OS X 作業系統上同時按下「fn」和「7」鍵,螢幕就會從預設的直式顯示改成橫式顯示,再按一次則切換回原來的直式顯示。 3、移除模擬器佈景要移除一個模擬器佈景,直 ...
Working with the YUI DataTable (Updated for v2.6.0), Part 2: Changing the Contents of the DataTable October 27, 2008 at 8:23 am by Satyam | In Development | 28 Comments Don’t miss Part One of this series, in which Satyam explores practical steps on getting started with the YUI DataTable Control. ...
Working with the YUI DataTable (Updated for v2.6.0), Part 2: Changing the Contents of the DataTable October 27, 2008 at 8:23 am by Satyam | In Development | 28 Comments Don’t miss Part One of this series, in which Satyam explores practical steps on getting started with the YUI DataTable Control. A ...
重点: <OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0 VIEWASTEXT> </OBJECT> <input type=button value=打印 onclick= "document.all.WebBrowser.ExecWB(6,1) " class= "NOPRINT "> <input type=button value=直接打印 onclick= "docu ...
重点: <OBJECT   id=WebBrowser   classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2   height=0   width=0   VIEWASTEXT> </OBJECT> <input   type=button   value=打印       onclick= "document.all.WebBrowser.ExecWB(6,1) "   class= "NOPRINT "> <input   type=button   ...
新建一个task.bat,把exp命令写到里面,其中%date:~0,10% 命令是取当前系统时间生成dmp文件,类似2008-05-23.dmp。pause命令只是把窗口停住等待一个键盘任意输入,echo命令是输出提示语。 echo hiexp username/password@orcl_192.168.0.10 file=C:\dmp\%date:~0,10%.dmp owner=(username)echo donepause 然后用window的任务计划,把task.bat设置定时运行即可;
JS里设定延时: 使用SetInterval和设定延时函数setTimeout很类似。setTimeout运用在延迟一段时间,再进行某项操作。 setTimeout("function",time)设置一个超时对象 setInterval("function",time)设置一个超时对象 SetInterval为自动重复,setTimeout不会重复。 clearTimeout(对象)清除已设置的setTimeout对象 clearInterval(对象)清除已设置的setInterval对象 window对象有两个主要的定时 ...
最近遇到了一个奇怪的问题,使用了Apache的连接池,当数据库重启之后,就无法连接到数据库上了,开始以为是程序的问题,看了一些代码,无用。后经同事提示,在连接池的配置中加了一项: <parameter> <name>validationQuery</name> <value>SELECT 1</value> </parameter> 就Ok了,才明白这个是用来检查连接的,当访问量不大时,连接池中的连接足够用,它不会去申请新的连接,但原有的连接已经被重置了,也就是reset了,无法使用,因此对于使用连接池,应该加上面 ...
Global site tag (gtag.js) - Google Analytics