当前位置:网站首页>Request and response must know
Request and response must know
2022-06-21 09:11:00 【aqsfdx-fx】
Desktop applications There's no need for the Internet
C/S Pattern
Client client ,Server The server QQ 1. Download installation package 2. Install to this machine 3. Network sending and receiving messages
benefits
1. The effect is cool 2. Fast response
3. Separate the ends The system is stable 4. If you don't need a network LAN fly Q High safety
Not good.
1. The program installed on the computer is not safe Misoperation
2. Version update Poor maintenance
3. The development cycle is relatively long High coupling degree
B/S Pattern
Browser browser ,Server The server
The browser is equivalent to our previous client All components are not on the client Write a unified specification for browsers
1.socket
2.I/O
3.String agreement
4. Threads
5. aggregate object-oriented
request ---- Respond to
There's a server (Tomcat)
Put our written resources (HTML JSP Controller Service DAO domain) Deployed in the server
Start the server , The server will run with resources ( Waiting for someone to visit , Help you schedule )
Browser open , Input URL
You may need to click to operate in the future
Send a request ----> Every time a browser is connected after the server is started , Will open a thread object
1. Receive request information
2. analysis
All the information carried in the request is wrapped into an object request
In order to receive the results after execution , Created an empty object response
3. Look for resources
The server will refer to a " Instructions " web The configuration file
4. Resource doing
Value Looking for business Response to response.write("");

边栏推荐
- Unity写多线程注意事项
- R language obtains help information of global, package and function: use the rsitesearch function to search the information of the specified package or function in the R community help manual and arch
- How to use ADB shell to query process traffic
- 《网络是怎么样连接的》读书笔记 - FTTH
- 微信小程序
- Binary search (non recursive, no repeating elements)
- R language list data object, create list data object, index list data with [[], list data practice
- Retrofit extended reading
- Full stack development
- Topic34——31. Next spread
猜你喜欢

\Processing method of ufeff

Verification code ----- SVG captcha

Observation on the salary data of the post-90s: poor, counselled and serious

The next stop of Intelligent Manufacturing: cloud native + edge computing two wheel drive

TiDB3.0- 4.0 内存控制/修改日志保存天数/最大索引长度
![The most authoritative Lei niukesi in history --- embedded Ai Road line [yyds]](/img/0c/95930c7c49c5ebeee9c179c035b317.jpg)
The most authoritative Lei niukesi in history --- embedded Ai Road line [yyds]

Unity 5 自带的Mono也可以支持C# 6

Unity 5 自帶的Mono也可以支持C# 6

STL教程3-类型转换static_cast、dynamic_cast、const_cast、reinterpret_cast方法

STL tutorial 3- type conversion static_ cast、dynamic_ cast、const_ cast、reinterpret_ Cast method
随机推荐
JUnit5单元测试
An app developed based on retrotfit2.1+material design+ijkplayer
Style penetration of vant UI components -- that is, some styles in vant UI components cannot be modified
Storage of floating point numbers in C language in memory
[JUC series] completionservice of executor framework
如何使用 adb shell 查询进程流量情况
How do I listen for changes in DOM element size?
A command starts the monitoring journey!
android 数据库升级
Dumpling备份数据库
Three key directories in R language and their corresponding priorities: R_ Home directory, user directory, current working directory, files read by R's startup process
window10局域网共享文件夹流程
The next stop of Intelligent Manufacturing: cloud native + edge computing two wheel drive
【C】 [time operation] time operation in C language
GQL+Nodejs+MySQL数据库
SQL to check the disk usage of the database / table, kill the process and terminate the connection in tidb
Summary of Web automated testing
基于Retrotfit2.1+Material Design+ijkplayer开发的一个APP
Six methods of optimizing inventory management in food production industry
R language uses as The character function converts date vector data to string (character) vector data