摘要: 1.准备工作: 准备相关的软件(Eclipse除外,开源软件可以从官网下载)<1>.Microsoft SQL server 2005 Express Edition下载地址:http://download.microsoft.com/download/0/9/0/09020fab-d2c3-4a8c-b9e0-db53a7a30ae8/SQLEXPR_CHS.EXE<2>.SQL Server Management Studio下载地址:http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn& 阅读全文
posted @ 2012-05-27 21:29 Thomas.Kwan 阅读(324) 评论(0) 推荐(1) 编辑
摘要: 第一种是以毫秒为单位计算的。 Java代码 //伪代码 long startTime=System.currentTimeMillis(); //获取开始时间 doSomeThing(); //测试的代码段 long endTime=System.currentTimeMillis(); //获取结束时间 System.out.println("程序运行时间: "+(end-start)+"ms"); //伪代码 long startTime=System.currentTimeMillis(); //获取开始时间 doSomeThing(); //测试 阅读全文
posted @ 2012-05-27 21:10 Thomas.Kwan 阅读(313) 评论(0) 推荐(1) 编辑
摘要: two or more web modules defined in the configuration have the same context root(/项目名)。to start this server you will need to remove the duplicate(s)产生原因: 因为tomcat为项目建立服务器的配置出现错误。错误的文件为D:\Test\Servers\Tomcat v5.5 Server at localhost-config\server.xml,当你直接复制项目时项目当中D:\Test\test\.settings\org.eclipse.wst 阅读全文
posted @ 2012-05-27 21:09 Thomas.Kwan 阅读(2027) 评论(0) 推荐(1) 编辑