Open the Shell window, enter a Telnet carriage entry into Microsoft Telnet>, enter the associated command for set, or enter Help return query-related commands, set Localecho Enter to turn on the local echo feature. Quit Exit settings. Re-enter Telnet localhost 8,080 back to the car (the middle must be the IP address name can not be the hostname), if it is the WinXP system, you need to enter control+] and then press ENTER to enter the command line, and then enter the get/http/ 1.1 Carriage return host:localhost:8080 (which is the hostname, which is different from the previous IP address name) returns to the return carriage to view the echo.
Note: telnet localhost 8080, where localhost is the IP address name, followed by a space not a colon
host:localhost:8080, where localhost is the host name, followed by a colon, not a space
Get / http/1.1, where / for root directory, or written /Jacky/, or written /jacky/index.jsp, and so on.
http/1.1 's telnet command
get/jacky/http/1.1
host:localhost:8080
-------------------------------------
http/1.0 's telnet command
get/jacky/http/1.0
-----------------------------------
Simple telnet command to return message content
get/jacky/
-------------------------------------
Post's command:
post/jacky/http/1.1
host:localhost:8080
content-type:application/x-www-form-urlencoded
Content-length:28
Firstname=zhang&lastname=san
-----------------------------------------------------------