云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > javaweb基础课时3http与servlet

javaweb基础课时3http与servlet

  • 62 次阅读
  • 3 次下载
  • 2025/5/29 16:12:35

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 的文档
  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com