摘要: 获取百度首页html文件 阅读全文
posted @ 2016-07-01 23:59 DeadGhost 阅读(183) 评论(0) 推荐(0) 编辑
摘要: var fs=require("fs"); var http=require("http"); var url=require("url"); const ROOT_DIR="html/"; http.createServer(function(req,res){ var urlObj=url.pa 阅读全文
posted @ 2016-07-01 22:57 DeadGhost 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 一、http对象的属性和方法 1、http.STATUS_CODES //A collection of all the standard HTTP response status codes, and the short description of each 2、http.METHODS //A 阅读全文
posted @ 2016-07-01 21:52 DeadGhost 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 一、下载安装jdk 1、甲骨文公司中文版官方入口http://www.oracle.com/cn/index.html 2、找到你想下载的jdk类型(一般为Java se) 至于版本肯定是下载最新版的咯(目前1.8) 官网上还有很多好东西 (比如最新的API文档什么的) 还有NetBeas IDE 阅读全文
posted @ 2016-07-01 19:05 DeadGhost 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 两个月没玩过Java了,感觉忘的差不多了,本来想写点其他的,想想第一篇还是HelloWorld吧 ! ! ! 阅读全文
posted @ 2016-07-01 17:51 DeadGhost 阅读(112) 评论(0) 推荐(0) 编辑