英语翻译This is an HTTP status line.Every HTTP response starts with a status line.The status line consists of the HTTP version,a status code,and a reason phrase.The HTTP response code 200 means everything was fine; that is why Tomcatincluded the

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/29 22:51:49

英语翻译This is an HTTP status line.Every HTTP response starts with a status line.The status line consists of the HTTP version,a status code,and a reason phrase.The HTTP response code 200 means everything was fine; that is why Tomcatincluded the
英语翻译
This is an HTTP status line.Every HTTP response starts with a status line.
The status line consists of the HTTP version,a status code,and a reason phrase.
The HTTP response code 200 means everything was fine; that is why Tomcat
included the requested content with the response.If there was some sort of issue
with the request,a different response code would have been used.Another HTTP
response code you are likely familiar with is the 404 "File Not Found" code.If you
have ever followed a broken hyperlink,this is probably the code that was
returned.
HTTP Response Codes
In practice,you usually do not need to understand all of the specific HTTP
response codes.JSP,Servlets,and Web servers usually take care of these codes
automatically,but nothing stops you from sending specific HTTP response
codes.Later on we will see examples of doing this with both Servlets and JSP.
A complete list of HTTP response codes along with other HTTP information
is available in the current HTTP specification,http://www.ietf.org/rfc/
rfc2616.txt.

英语翻译This is an HTTP status line.Every HTTP response starts with a status line.The status line consists of the HTTP version,a status code,and a reason phrase.The HTTP response code 200 means everything was fine; that is why Tomcatincluded the
这是一个HTTP状态栏上.每一个HTTP响应始于状态栏上.
状态行的由HTTP版本,这个状态码,而这就是短语.
HTTP响应代码200意味着一切都好,这就是为什么猫
包括所要求的满足于反应.如果有某种程度的问题
之要求,一种不同的应答代码会被使用.另一个HTTP
应答代码你可能熟悉是404 "未找到文件"的代码.如果你
曾经跟着一颗破碎的超链接,这可能是这些代码
回来了.
HTTP响应代码
事实上,你通常不需要了解所有的特定的HTTP
响应代码.由此,/ Servlets,和网络服务器通常照顾这些号码
自动,但没有阻止你把特定的HTTP响应
代码.稍后我们会看到这样做的例子和/ Servlets和JSP.
一个完整的列表的HTTP响应代码以及其他HTTP信息

这是一个HTTP状态栏上。每一个HTTP响应始于状态栏上。
状态行的由HTTP版本,这个状态码,而这就是短语。
HTTP响应代码200意味着一切都好,这就是为什么猫
包括所要求的满足于反应。如果有某种程度的问题
之要求,一种不同的应答代码会被使用。另一个HTTP
应答代码你可能熟悉是404 "未找到文件"的代码。如果你
曾经跟着一颗破碎的超链接,这可...

全部展开

这是一个HTTP状态栏上。每一个HTTP响应始于状态栏上。
状态行的由HTTP版本,这个状态码,而这就是短语。
HTTP响应代码200意味着一切都好,这就是为什么猫
包括所要求的满足于反应。如果有某种程度的问题
之要求,一种不同的应答代码会被使用。另一个HTTP
应答代码你可能熟悉是404 "未找到文件"的代码。如果你
曾经跟着一颗破碎的超链接,这可能是这些代码
回来了。
HTTP响应代码
事实上,你通常不需要了解所有的特定的HTTP
响应代码。由此,/ Servlets,和网络服务器通常照顾这些号码
自动,但没有阻止你把特定的HTTP响应
代码。稍后我们会看到这样做的例子和/ Servlets和JSP。
一个完整的列表的HTTP响应代码以及其他HTTP信息
可在当前http://www.ietf.org/rfc/? HTTP规格
rfc2616.txt。

收起

这是一个HTTP状态栏。每一个HTTP响应都是始于状态栏的。状态行包括HTTP版本,一个状态码,还有一个原因短语。响应代码HTTP200意味着一切都好,这就是为什么猫包括所要求的满足于反应。如果有某种程度的问题发生,就会出现另一种不同的代码。另一个HTTP应答代码,像是你可能熟悉的404 "未找到文件"的代码。如果你曾经连接一个断掉的超链接,这可能就是出现这个代码的原因。
HTTP响应代码...

全部展开

这是一个HTTP状态栏。每一个HTTP响应都是始于状态栏的。状态行包括HTTP版本,一个状态码,还有一个原因短语。响应代码HTTP200意味着一切都好,这就是为什么猫包括所要求的满足于反应。如果有某种程度的问题发生,就会出现另一种不同的代码。另一个HTTP应答代码,像是你可能熟悉的404 "未找到文件"的代码。如果你曾经连接一个断掉的超链接,这可能就是出现这个代码的原因。
HTTP响应代码
事实上,你通常不需要了解所有的特定的HTTP响应代码。JSP,Servlets,和网络服务器通常会自动处理这些代码,但没有什么会阻止你传送特定的HTTP响应代码。稍后我们会看到这样做的例子包括 Servlets和JSP。一个完整的列表的HTTP响应代码和其他HTTP信息是可以在一个当前HTTP规格一起使用。

收起