telnet命令使用介绍

GET / HTTP/1.1

HOST:

HTTP/1.1 200 OK

Server: Apache-Coyote/1.1

Content-Type: text/html;charset=ISO-8859-1

Transfer-Encoding: chunked

Date: Thu, 13 Oct 2011 00:05:17 GMT

2000

<!DOCTYPE html>

<html lang="en">

    <head>

        <title>Apache Tomcat/7.0.22</title>

        <link href="favicon.ico" rel="icon" type="image/x-icon" />

        <link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />

        <link href="tomcat.css" rel="stylesheet" type="text/css" />

    </head>

    <body>

        <div id="wrapper">

            <div id="navigation" class="curved container">

                <span id="nav-home"><a href="http://tomcat.apache.org/">Home</a>

</span>

                <span id="nav-hosts"><a href="/docs/">Documentation</a></span>

                <span id="nav-config"><a href="/docs/config/">Configuration</a><

/span>

                <span id="nav-examples"><a href="/examples/">Examples</a></span>

                <span id="nav-wiki"><a href="http://wiki.apache.org/tomcat/Front

Page">Wiki</a></span>

                <span id="nav-lists"><a href="http://tomcat.apache.org/lists.htm

l">Mailing Lists</a></span>

                <span id="nav-help"><a href="http://tomcat.apache.org/findhelp.h

tml">Find Help</a></span>

                <br class="separator" />

            </div>

            <div id="asf-box">

                <h1>Apache Tomcat/7.0.22</h1>

            </div>

            <div id="upper" class="curved container">

                <div id="congrats" class="curved container">

                    <h2>If you're seeing this, you've successfully installed Tom

cat. Congratulations!</h2>

                </div>

                <div id="notice">

                    <img src="tomcat.png" alt="[tomcat logo]" />

                    <div id="tasks">

                        <h3>Recommended Reading:</h3>

                        <h4><a href="/docs/security-howto.html">Security Conside

rations HOW-TO</a></h4>

                        <h4><a href="/docs/manager-howto.html">Manager Applicati

on HOW-TO</a></h4>

                        <h4><a href="/docs/cluster-howto.html">Clustering/Sessio

n Replication HOW-TO</a></h4>

                    </div>

                </div>

                <div id="actions">

                    <div class="button">

                        <a class="container shadow" href="/manager/status"><span

>Server Status</span></a>

                    </div>

                    <div class="button">

                        <a class="container shadow" href="/manager/html"><span>M

anager App</span></a>

                    </div>

                    <div class="button">

                        <a class="container shadow" href="/host-manager/html"><s

pan>Host Manager</span></a>

                    </div>

                </div>

                <!--

                <br class="separator" />

                -->

                <br class="separator" />

            </div>

            <div id="middle" class="curved container">

                <h3>Developer Quick Start</h3>

                <div class="col25">

                    <div class="container">

                        <p><a href="/docs/setup.html">Tomcat Setup</a></p>

                        <p><a href="/docs/appdev/">First Web Application</a></p>

                    </div>

                </div>

                <div class="col25">

                    <div class="container">

                        <p><a href="/docs/realm-howto.html">Realms & AAA</a>

</p>

                        <p><a href="/docs/jndi-datasource-examples-howto.html">J

DBC DataSources</a></p>

                    </div>

                </div>

                <div class="col25">

                    <div class="container">

                        <p><a href="/examples/servlets/">Servlet Examples</a></p

>

                        <p><a href="/examples/jsp/">JSP Examples</a></p>

                    </div>

                </div>

                <div class="col25">

                    <div class="container">

                        <p><a href="http://wiki.apache.org/tomcat/Specifications

">Servlet Specifications</a></p>

                        <p><a href="http://wiki.apache.org/tomcat/TomcatVersions

">Tomcat Versions</a></p>

                    </div>

                </div>

                <br class="separator" />

            </div>

            <div id="lower">

                <div id="low-manage" class="">

                    <div class="curved container">

                        <h3>Managing Tomcat</h3>

                        <p>For security, access to the <a href="/manager/html">m

anager webapp</a> is restricted.

                        Users are defined in:</p>

                        <pre>$CATALINA_HOME/conf/tomcat-users.xml</pre>

                        <p>In Tomcat 7.0 access to the manager application is sp

lit between

                           different users.   <a href="/docs/manager-howto.

html">Read more...</a></p>

                        <br />

                        <h4><a href="/docs/RELEASE-NOTES.txt">Release Notes</a><

/h4>

                        <h4><a href="/docs/changelog.html">Changelog</a></h4>

                        <h4><a href="http://tomcat.apache.org/migration.html">Mi

gration Guide</a></h4>

                        <h4><a href="http://tomcat.apache.org/security.html">Sec

urity Notices</a></h4>

                    </div>

                </div>

                <div id="low-docs" class="">

                    <div class="curved container">

                        <h3>Documentation</h3>

                        <h4><a href="/docs/">Tomcat 7.0 Documentation</a></h4>

                        <h4><a href="/docs/config/">Tomcat 7.0 Configuration</a>

</h4>

                        <h4><a href="http://wiki.apache.org/tomcat/FrontPage">To

mcat Wiki</a></h4>

                        <p>Find additional important configuration information i

n:</p>

                        <pre>$CATALINA_HOME/RUNNING.txt</pre>

                        <p>Developers may be interested in:</p>

                        <ul>

                            <li><a href="https://issues.apache.org/bugzilla/bugl

ist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bu

g_status=REOPENED&bug_status=RESOLVED&resolution=LATER&resolution=RE

MIND&resolution=---&bugidtype=include&product=Tomcat+7&cmdtype=d

oit&order=Importance">Tomcat 7.0 Bug Database</a></li>

                            <li><a href="/docs/api/index.html">Tomcat 7.0 JavaDo

cs</a></li>

                            <li><a href="http://svn.apache.org/repos/asf/tomcat/

tc7.0.x/">Tomcat 7.0 SVN Repository</a></li>

                        </ul>

                    </div>

                </div>

                <div id="low-help" class="">

                    <div class="curved container">

                        <h3>Getting Help</h3>

                        <h4><a href="http://tomcat.apache.org/faq/">FAQ</a> and

<a href="http://tomcat.apache.org/lists.html">Mailing Lists</a></h4>

                        <p>The following mailing lists are available:</p>

                        <ul>

                            <li id="list-announce"><strong><a href="mailto:annou

nce-subscribe@tomcat.apache.org">announce@tomcat.apache.org</a><br />

                                Important announcements, releases, security vuln

erability notifications. (Low volume).</strong>

                            </li>

                            <li><a href="mailto:users-subscribe@tomcat.apache.or

g">users@tomcat.apache.org</a><br />

                                User support and discussion

                            </li>

                            <li><a href="mailto:taglibs-user-subscribe@tomcat.ap

ache.org">taglibs-user@tomcat.apache.org</a><br />

                                User support and discussion for <a href="http://

tomcat.apache.org/taglibs/">Apache Taglibs</a>

                            </li>

                            <li><a href="mailto:dev-subscribe@tomcat.apache.org"

>dev@tomcat.apache.org</a><br />

                                Development mailing list, including commit messa

ges

                            </li>

                        </ul>

                    </div>

                </div>

e04

     <br class="separator" />

            </div>

            <div id="footer" class="curved container">

                <div class="col20">

                    <div class="container">

                        <h4>Other Downloads</h4>

                        <ul>

                            <li><a href="http://tomcat.apache.org/download-conne

ctors.cgi">Tomcat Connectors</a></li>

                            <li><a href="http://tomcat.apache.org/download-nativ

e.cgi">Tomcat Native</a></li>

                            <li><a href="http://tomcat.apache.org/taglibs/">Tagl

ibs</a></li>

                            <li><a href="/docs/deployer-howto.html">Deployer</a>

</li>

                        </ul>

                    </div>

                </div>

                <div class="col20">

                    <div class="container">

                        <h4>Other Documentation</h4>

                        <ul>

                            <li><a href="http://tomcat.apache.org/connectors-doc

/">Tomcat Connectors</a></li>

                            <li><a href="http://tomcat.apache.org/connectors-doc

/">mod_jk Documentation</a></li>

                            <li><a href="http://tomcat.apache.org/native-doc/">T

omcat Native</a></li>

                            <li><a href="/docs/deployer-howto.html">Deployer</a>

</li>

                        </ul>

                    </div>

                </div>

                <div class="col20">

                    <div class="container">

                        <h4>Get Involved</h4>

                        <ul>

                            <li><a href="http://tomcat.apache.org/getinvolved.ht

ml">Overview</a></li>

                            <li><a href="http://tomcat.apache.org/svn.html">SVN

Repositories</a></li>

                            <li><a href="http://tomcat.apache.org/lists.html">Ma

iling Lists</a></li>

                            <li><a href="http://wiki.apache.org/tomcat/FrontPage

">Wiki</a></li>

                        </ul>

                    </div>

                </div>

                <div class="col20">

                    <div class="container">

                        <h4>Miscellaneous</h4>

                        <ul>

                            <li><a href="http://tomcat.apache.org/contact.html">

Contact</a></li>

                            <li><a href="http://tomcat.apache.org/legal.html">Le

gal</a></li>

                            <li><a href="http://www.apache.org/foundation/sponso

rship.html">Sponsorship</a></li>

                            <li><a href="http://www.apache.org/foundation/thanks

.html">Thanks</a></li>

                        </ul>

                    </div>

                </div>

                <div class="col20">

                    <div class="container">

                        <h4>Apache Software Foundation</h4>

                        <ul>

                            <li><a href="http://tomcat.apache.org/whoweare.html"

>Who We Are</a></li>

                            <li><a href="http://tomcat.apache.org/heritage.html"

>Heritage</a></li>

                            <li><a href="http://www.apache.org">Apache Home</a><

/li>

                            <li><a href="http://tomcat.apache.org/resources.html

">Resources</a></li>

                        </ul>

                    </div>

                </div>

                <br class="separator" />

            </div>

            <p class="copyright">Copyright ©1999-2011 Apache Software Found

ation.  All Rights Reserved</p>

        </div>

    </body>

</html>

0

cmd控制台中首先要先敲入telnet  localhost  8080  连接服务器,然后就可以输入命令但是命令是隐藏的,按Ctrl+】可以是命令可显,

然后输入命令 Get+地址+传输协议

例如:Get  /books/HTTP/1.1 

      HOST

就可以出现例如上面的html代码

阅读更多
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭