Basic web knowledge, web
1. HTTP protocol features
1) Client-> server (request) has three parts
A) Request Line
B) Request Header
C) The request content, if not, is a blank character
2) The server-> the client (response) has three parts
A) Response line
B) Response Header
C) The response content, if not, is a blank character
2. HTTP request headers and Response Headers
1) request (client> server [request])
GET (Request Method)/books/java.html (requested target resource) HTTP/1.1 (request protocol and version number)
Accept: */* (resource type that the client can receive)
Accept-Language: en-us (Language type received by the client)
Connection: Keep-Alive (maintain the Connection between the client and the server)
Host: localhost: 8080 (connected destination Host and port number)
Referer: http: // localhost/links. asp (from where)
User-Agent: Mozilla/4.0 (name of the Client Version Number)
Accept-Encoding: gzip, deflate (type of compressed data that can be received by the client)
If-Modified-Since: Tue, 11 Jul 2000 18:23:51 GMT (Cache Time)
Cookie (client temporary storage server information)
Date: Tue, 11 Jul 2000 18:23:51 GMT (time when the client requests the server)
2) response (Server> client [response])
HTTP/1.1 (response protocol and version number) 200 (Status Code) OK (description)
302 (the client requests the server, but the server does not have the corresponding resources. The server needs the client to request another server, that is, the client's second request, redirection)
307 (the client requests the server, but the server does not have the corresponding resources. The server itself requests another server, that is, one request by the client and forwards it)
304 (the client requests the server. In this case, the client cache does not need to download new content from the server. The server asks the client to find the cache and optimize it)
500 (the resource requested by the client, which exists on the server but fails during execution)
404 The requested resource cannot be found
Location: http://www.baidu.com (the path to the page that the server needs to access from the client)
Server: apache tomcat (the Web Server name of the Server)
Content-Encoding: gzip (the server can send the compression Encoding type)
Content-Length: 80 (the Length of the compressed data sent by the server)
Content-Language: zh-cn (Language type sent by the server)
Content-Type: text/html; charset = GB2312 (Type sent by the server and the encoding method used)
Last-Modified: Tue, 11 Jul 2000 18:23:51 GMT (time when the server Last Modified the resource)
Refresh: 1; url = http://www.it315.org (the server requires the client to Refresh after 1 second, then access the specified page path)
Content-Disposition: attachment; filename=aaa.zip (the server requires the client to open the file by downloading the file)
Transfer-Encoding: chunked (transfers data to the client in multiple parts)
Set-Cookie: SS = Q0 = 5Lb_nQ; path =/search (temporary data sent from the server to the client)
Expires:-1 // 3 (the server prohibits the client from caching page data)
Cache-Control: no-cache (the server prohibits the client from caching page data)
Pragma: no-cache (the server prohibits the client from caching page data)
Connection: close (1.0)/(1.1) Keep-Alive (maintain the Connection between the client and the server)
Date: Tue, 11 Jul 2000 18:23:51 GMT (time when the server responds to the client)
3) Summary
The server can only set the browser's behavior through the response header.
To let the server know what kind of behavior, the browser can only set it through the request header.
3. Common submission methods
A) GET
Feature: no matter how many request parameters are, the request parameters are transmitted to the server based on the URL and in plaintext.
There is a size limit for the GET method, mainly because the data in the address bar is limited
Information transmitted in GET mode is not secure
B) POST
Features:
No matter how many request parameters, the request will not be passed to the server after the URL is rooted, but will be passed to the server in the Request body in the form of parameters
No size limit for POST Transmission
POST-transmission information is relatively secure
4. Interaction between the browser and the server
What is the prospect of WEB Testing? What basic knowledge should be mastered?
Hello!
I. It is a good professional, with a large job space and Benefits
2? Please refer to the following materials:
1. Computer Network Technology
(1) Training objectives
Master the basic knowledge and skills of computer network technology, and have the technical application talents who plan, build LAN, and maintain the management network system and network software programming skills.
(2) Employment Orientation
Graduates of this major can engage in computer network system planning and networking, management and maintenance of network systems, construction and management of various websites, web page creation, and network in various enterprises, such as enterprises, computer software companies, etc. development of Application Software, marketing of Computer Network-related software and hardware, and technical support. Through 2-5 years of training, improvement and further study, you can become a network administrator, network engineer, web designer, etc.
(3) major courses
Computer Application basics, C language programming, database application basics, computer composition principles, data structures, computer network technology, Web page creation technology, Net-oriented Web application design, network integration and device configuration, database development technology, network and information security, and the corresponding practical courses and practical training of the above courses.
2. Department of Information Science and Technology, College of Application Science, Peking Union University:
Computer Network Technology (Network System Management)
Three-year specialist
Purpose: this major is oriented to the first line of economic construction in the capital. It shall cultivate all-round development of the socialist motherland, the moral, And the beauty, master computer network technology knowledge and application skills, and possess good professional ethics, senior Professional technical application talents who can install, use, manage and serve computer network systems.
Professional characteristics: In addition to learning the necessary basic mathematical and computer knowledge, the students of this major also need to master the basic knowledge of computer network technology and network communication, after solid network technology application, network system management, network interconnection, and other professional skills training, it combines professional courses such as computer network technology, network system management, and network security technology with practical training sessions such as networking, network construction, network programming, and network testing, this gives students strong professional skills and quality.
Basic requirements: In addition to learning the necessary basic mathematical and computer knowledge, the students of this major also need to master the basic knowledge of computer network technology and network communication, after solid network technology application, network system management, network interconnection and other professional skills training, learn to search, process, send, and make various information in the network environment, become a talent for network system installation, use, management and maintenance, and development and utilization of network information resources. Students are required not only to obtain the qualification certificate for Network System Engineers, but also to learn the professional specifications of this special industry. After graduation, they are certified to take up their posts.
Main courses: computer basics, digital circuits, network technology basics, network media technology, dynamic web design, network database, network operating system, network system management, server management, TCP/IP network interconnection, website creation and Management, network testing and maintenance, and network security technology.
Employment orientation: graduates of this major can serve as engineering and technical personnel for network system maintenance and management. They are employed by enterprises, institutions, and high-tech companies using computer networks. In the past three years, graduates have been mainly employed by various computer network companies, with an employment rate of 100% at a time.
What basic knowledge does B/S mode require to develop web applications?
Currently, the B/S architecture of WEB development has two application systems:
1.. Net architecture. (That is, Microsoft's set of things)
2. J2EE architecture. (Java-based cross-platform)
Optional courses are as follows:
1) Basic webpage development knowledge, html/DHTML, javascript/vbscript,
2) database knowledge: oracle, MS sqlserver, mysql three choose one
3) web development tool: Dreamwarea
4) graphic development: Photoshop and Flash.