Saturday, May 22, 2021

What is HTTP Request and HTTP Response?

Ans: both are the interface and implementation provided by servlet server.ex:tomcat.when user want to send any request to a servlet ,he send HttpRequest and can attach data if want. user can send response like html from server to client using HttpResponse.


No comments:

Post a Comment

Testing controller

------Controller------------- @RestController @RequestMapping("/items") public class ItemController {     private final ItemServic...