Can some explain servlet flow?

Asked By 0 points N/A Posted on -
qa-featured

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.

SHARE
Best Answer by Waall Mike
Answered By 0 points N/A #146482

Can some explain servlet flow?

qa-featured

 

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: http://docs.oracle.com/cd/E19857-01/819-6518/abxax/index.html

 

Best Answer
Best Answer
Answered By 265 points N/A #197837

Can some explain servlet flow?

qa-featured

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

Login/Register to Answer

Related Questions