2014年5月14日
摘要: HTTP1.1 提供了一个必须的Host字段,而且建立好一次连接之后可以重复使用。提高用户的上网体验。响应信息HTTP/1.1 200 OK ->响应行Server: Apache-Coyote/1.1Set-Cookie: JSESSIONID=A8FB52…; Path=/day04 ->响应... 阅读全文
posted @ 2014-05-14 18:18 wf110 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 请求信息GET / HTTP/1.1 ->请求行Accept: */*Accept-Language: zh-cn,en-US;q=0.5 ->请求头User-Agent: Mozilla/4.0Accept-Encoding: gzip, deflateHost: www.sina.com.cn... 阅读全文
posted @ 2014-05-14 18:07 wf110 阅读(427) 评论(0) 推荐(0) 编辑
摘要: 配置门户网站http://127.0.0.1:8080/myitcast/index.htmlhttp://www.163.com配置默认首页配置网站中的web.xml文件如下 email.html配置默认网站配置服务器的server.xml 配置默认端口配置服务器的server.xml 注册域名找... 阅读全文
posted @ 2014-05-14 17:57 wf110 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 推荐部署 http://localhost:8080 à Tomcat Document à Referer à Configuation à Context For Tomcat 6, unlike Tomcat 4.x, it is NOT recommended to place eleme... 阅读全文
posted @ 2014-05-14 13:48 wf110 阅读(255) 评论(0) 推荐(0) 编辑