1. Description of the problem
After the HttpServlet request is received and logically processed, it is redirected to another web system across the domain, and the form data is submitted as a post.
2. Problem solving
This problem mainly addresses
Permanent page removal (301 redirects ) is a very important "auto-steering" technology. One of the most feasible ways to redirect URLs. When a user or a search engine makes a browse request to the Web server, one of the status codes in the header
Headers_sent ()
Http_response_code ()
sent ()
Header ()
Definition and usageThe Headers_sent () function checks whether the HTTP header has been sent and where it was sent.Returns True if the header was sent, otherwise
Some common HTTP status codes are:200– server successfully returned to Web page404– The requested page does not exist503– Service Not availableCommon HTTP status Code Daquan1XX (Temporary response)A status code that represents a temporary response
HTTP RequestThe client requests access to the resource to the server by sending an HTTP request. The HTTP request consists of three parts: the request line, the message header, and the request for essay.3.1. Request LineThe request line begins with
As is known to all, each HTTP response is provided with an HTTP status code, which is the code used to represent the HTTP server response status. It is defined by the RFC 2616 specification and is extended by RFC 2518, RFC 2817, RFC 2295, RFC 2774,
We often encounter 404, 500, 302 and other hints, what do they mean? In addition to these common status codes, what are some of the status codes that we have not encountered but are likely to appear? Here I made a summary, share with you.
HTTP
We often encounter 404, 500, 302 and other hints, what exactly do they mean? In addition to these common status codes, what are some of the possible status codes that we have not encountered yet? Here I made a summary, share with you.
HTTP Status
100-199 is used to specify certain actions that the client should be corresponding.200-299 is used to indicate a successful understanding and acceptance of the request.300-399 is used for files that have been moved and is often included in the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.