HTTP protocol details
From: http://blog.csdn.net/gueter/archive/2007/03/08/1524447.aspx
Author: Jeffrey
Introduction
HTTP is an object-oriented protocol at the application layer. It is applicable to distributed hypermedia information systems due to
Web applications must meet the needs of multiple languages. Users in different countries should be able to enter characters in their own languages, and Web applications should be able to display pages in multiple languages according to different
To capture some Web privacy data, You need to log on first before you can obtain the data. To achieve this using a program, you need to implement automatic login and then save the login information in the cookie, in order to obtain data, you do not
I. Differences of principles
Generally, you can enter a URL in your browser to access resources by using the get method. In form submission, you can specify the submission method as get or post, by default, get submits HTTP and defines different
Recently, our website often reports a 503 error: "HTTP Error 503. The service is unavailable ". But it is normal to brush one or two times.
It is estimated that the maximum number of concurrent connections of the website is exceeded.
What is an HTTP
When encountering the problem of servlet output garbled Chinese characters, I found new discoveries and understandings by querying materials and learning from others. Original code: Java code
Protected void doget (httpservletrequest request,
Gb2312 is a very important term for Chinese developers. It does not need to be described here. Google knows exactly what it means. I just want to mention that the previous section mentioned that encoding character sets and character set encoding are
I have always wanted to build a powerful asynchronous system, but it is more complicated to implement various browsers in this regard, coupled with cross-origin requirements. Now I can write down all the things that I can think of for the time being.
Transferred from: http://www.cnblogs.com/cswolf/archive/2011/10/11/2267129.htmlintroduction
HTTP is an object-oriented protocol at the application layer. It is applicable to distributed hypermedia information systems due to its simple and fast
Static JSP inclusion
Now let's take a look at the JSP static include command:
Create a project testinclude
Then add the file:
Index. jsp:
this is user's area
Curdate: (without a suffix)
curDate:
Curdate. jsp:
PHP header function usage example summary: hope to help you!1. Not found on the pageHeader ('HTTP/1.1 404 Not found ');2. Use this header command to solve the 404 header generated by URL rewriting.Header ('HTTP/1.1 200 OK ');3. Restricted
When Li Jie used a third-party API to access a Word document, he encountered an error where the DLL could not be found. He explained that the DLL should also prevent the principle in the directory specified by the PATH environment variable, by the
HTTP is an important protocol in the Web protocol set. It is developed from the client/server model. A client/server runs a program that communicates with each other. When a client connects to the server, it first initiates a request to the server.
When the HTTP protocol works, the client sends a request to the server. After receiving the request, the server generates a response and returns it to the client.In this communication process, the HTTP protocol is defined in the following four
Http get, post, and head descriptions
Get: Request the specified page information and returns the Object Body.Head: only request the first part of the page.Post: The request Server accepts the specified document as a new subordinate object
Simple JSP exercises-JSP commands, jsp-jsp commands
I. page commands:
When defining the global attribute value of a JSP page, you can use the page command to place it in the header of the page. For example:
Note: The contentType attribute in the
Three ideas: custom 404 page, custom 404 pageDefine 404
404. To put it bluntly, the page cannot be found. How can we define "not found?
We can use the source code to see how Spring MVC defines "404:
// Determine handler for the current
Java web basics 2-http protocol, javawebJava web basics 2-http protocol
Because java web is based on B/S, http is the most basic and important knowledge of java web. HTTP is used to define the format of communication between the client and the web
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.