JavaEE Servlet and JSP A to Z <<< by jps sasadara >>>
Cookie
- Cookie will create on Browser.
Session
- Unique Session will be created for each browser if application has session object.
- Create on Server.
- Pass session id to the browser’s session scope.
- Browser will keep session id in browser’s session scope.
- When browser is closed session will be closed.
Request and Response object
- Request and Response objects are created for each http request and response.
Servlet
- One servlet object will create different thread will be used to access for servlet for different users.( But session objects will be created for each Users (for each Browser))
Context
- Can be accessed for every user (every Browser)
HTTP is a stateless protocol
Because a stateless protocol does not require the server to retain session information or status about each communications partner for the duration of multiple requests. HTTP is a stateless protocol, which means that the connection between the browser and the server is lost once the transaction ends.example VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV look
https://www.javaguides.net/2019/03/jsp-servlet-jdbc-mysql-crud-example-tutorial.html
__ JPS SASADARA__
Comments
Post a Comment