Can some explain servlet flow?
I am new with this topic so if someone know where to start with learning servlet flow, Please tell me.Â
What sections are more important than others?
Please share.
I am new with this topic so if someone know where to start with learning servlet flow, Please tell me.Â
What sections are more important than others?
Please share.
Â
Hi there,
The incoming data is process by the servlet. For example, when clients send their needs to the server, the server will now send the request to the servlet. The servlet produce response and that response will be send back to the client.
For more information about this, go to this site: https://docs.oracle.com/cd/E19857-01/819-6518/abxax/index.html
Â
Hey there Aaron,Â
Servlet works very simple : when a user clicks a "Log-in" button for instance to a website, a servlet "LoginServlet" was invoked. What happens next is that all the information/data that was submitted will be sent to a servlet. This servlet will then processes all the incoming data and regenerates the contents in response. Once this is done, the servlet then creates a response page, most of the time using JSP (Java Server Pages). This response will be sent back to the user and sets up another set of data for the user.
This is how the servlet data flows :
To know more about servlet life cycles visit : Visual Builder's Website
Hope this helps.
Waall Mike