第一范文网 - 专业文章范例文档资料分享平台

javaweb基础课时3http与servlet

来源:用户分享 时间:2025/6/4 20:53:44 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

Administration


Documentation


Tomcat Online

href=%us=ASSIGNED&bug_status=REOPENED&bug_status=RESOLVED&resolution=LATER&resolution=REMIND&resolution=---&bugidtype=include&product=Tomcat+5&cmdtype=doit&order=Importance\Bugs

href=\

href=\

 


Examples

 


Miscellaneous

href=\

 

As you may have guessed by now, this is the default Tomcat home page. It can be found on the local filesystem at:

where \is the root of the Tomcat installation directory. If you're seeing this page, and you don't think you should be, then either you're either a user who has arrived at new installation of Tomcat, or you're an administrator who hasn't got his/her setup quite right. Providing the latter is the case, please refer to the

NOTE: This page is precompiled. If you change it, this page will not change since it was compiled into a servlet at build time.

(See $CATALINA_HOME/webapps/ROOT/WEB-INF/web.xml as to how it was mapped.)

NOTE: For security reasons, using the administration webapp is restricted to users with role \ is restricted to users with role \

Users are defined in $CATALINA_HOME/conf/tomcat-users.xml.

Included with this release are a host of sample Servlets and JSPs (with associated source code), extensive documentation (including the Servlet 2.4 and JSP 2.0 API JavaDoc), and an introductory guide to developing web applications.

Tomcat mai 2e4

ling lists are available at the Tomcat project web site:

Thanks for using Tomcat!

Copyright © 1999-2010 Apache Software Foundation
 

All Rights Reserved

0

与查看http://127.0.0.1:8080/的源代码结果是一致的。

HTTP协议比较简单,都是固定格式的字符串。按照规定格式发送,就会得到相应的反馈。

2.Post方式:

Post /Servlet/ HTTP/1.1 Host: localhost Content-Type: … Content-Length:32

username=aaa&password=111

最后一行是数据提交的方式,通过变量名和变量值的方式来提交,中间用&隔开。 Get方式提交后在URL中就可以看到username=aaa&password=111。

3.服务器端反馈给客户端的内容: HTTP/1.1 200 OK

Server: Apache-Coyote/1.1

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

Date: Sun, 06 Oct 2013 05:49:42 GMT

搜索更多关于: javaweb基础课时3http与servlet 的文档
javaweb基础课时3http与servlet.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c1h7kc0owy91is5307350_2.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top