📄 readme.txt
字号:
Readme for Exercise2 of SSD8
The instruction on how to run the program ModifiedClient.java
(do the following in the cmd)
(1)First,compile the source file ModifiedClient.java :
javac ModifiedClient.java
(2)Then run the class file out of the package folder ex2:
java ModifiedClient <server name>
For example: java ModifiedClient www.whu.edu.cn
(3)Then the program will prompt you to input request,you should input request in the following format:
GET /path/file HTTP/1.0 *
For example: GET /cn/xxgk/index.htm HTTP/1.0
(4)Then the header part of server's response will display in the Command Prompt window,the program prompts you to input a file name to save the response contents,just follow the guide and finish.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -