readme.txt

来自「SSD8考试1」· 文本 代码 · 共 35 行

TXT
35 行
字号

Here are the instructions on compiling and running each program:
ProxyServer.java
First, compile this java file through cmd:

javac ProxyServer.java


to ProxyServer.class. Second, run this class file also through cmd:

java ProxyServer


Then you can see the guide for input the request if the connection is OK. Now, input the request. For example:

GET http://www.icarnegie.com/index.html HTTP/1.0


Or

GET http://www.icarnegie.com:80/index.html HTTP/1.0


Then the web file will be received.
You can also get web files through the web browser. Take IE for example, input

http://www.icarnegie.com/index.html


Or

http://www.icarnegie.com:80/index.html


into the URL text and press ENTER. Then you can get the web in the screen.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?