Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between request, response and server?

What is the difference between request, response and server?

like image 620
user31363 Avatar asked Nov 14 '08 06:11

user31363


People also ask

What's the difference between a HTTP request and HTTP response?

HTTP messages are how data is exchanged between a server and a client. There are two types of messages: requests sent by the client to trigger an action on the server, and responses, the answer from the server. HTTP messages are composed of textual information encoded in ASCII, and span over multiple lines.

What is a response from server?

An HTTP response is made by a server to a client. The aim of the response is to provide the client with the resource it requested, or inform the client that the action it requested has been carried out; or else to inform the client that an error occurred in processing its request.

What is request and response in server?

In request/response communication mode, one software module sends a request to a second software module and waits for a response. Because the first software module performs the role of the client, and the second, the role of the server, this mode is also referred to as client/server interaction.

What is the difference between request and response in JSP?

html. request: This is the object of HttpServletRequest class associated with the request. response: This is the object of HttpServletResponse class associated with the response to the client. config: This is the object of ServletConfig class associated with the page.


1 Answers

Request : From Client to Server
Response: From Server to Client
Server: Receive Request and Send Response
Client: Send Request and Receive Response

like image 106
Ramesh Soni Avatar answered Sep 29 '22 09:09

Ramesh Soni