
一、访问网站的处理过程

二、访问网站的处理过程
-
通过浏览器发送(http=协议)请求
-
通过URL中的ip(192.168.60.130)找到访问的主机
-
通过端口号(8081)找到Webapps下的应用
-
然后通过资源路径(lizy)找到资源(tupian.jpg)
-
返回资源
-
服务器通过网络给到浏览器进行资源展示
如何查看本机的ip
- win+R打开运行框
- 输入cmd
- 命令行输入ipconfig

如何查看访问网站的ip地址
打开网页按下F12
选择Network
选择Name页面里面自己需要的页面
点击Headers
Remote Address就是访问的ip地址

URL的分解

Tomcat Web服务器
目录结构
bin 包含startup和shutdown
conf 包含配置文件
lib 运行时加载的jar包
webapps 应用程序
logs 日志
temp 临时文件
作用
提供数据的接收与发送
管理网站应用(资源,处理程序
网友评论