readme.txt

来自「SSD8的练习2 希望能帮助大家 参考学习」· 文本 代码 · 共 29 行

TXT
29
字号
                                                                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 + =
减小字号Ctrl + -
显示快捷键?