jQuery in Action, 3rd edition
The moose likes Servlets and the fly likes Servlet Flow Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet Flow" Watch "Servlet Flow" New topic

Servlet Flow

Pankaj Shet
Ranch Hand

Joined: Sep 08, 2006
Posts: 286

I am having the doubt regarding the request-response flow.
Suppose i send a request or type www.javaranch.com,
where does the request go?
It goes on the server at the javaranch.com,the server then finds the requested page and returns it to client.Now, the requested page will be an html page?
On the server machine,
how many components are there?
where does the Servlet lie??
where does the Web container lie??
where does the actual form lie??
Servlet contains Java code,web container also is a java code,the GET request is an Html request requested by the user,then how does the servlet helps in sending the response??

I just want to know the complete request-response flow
Can anyone give me the link where the image regarding the above flow?

B.Sc.(I.T.), S.C.J.P., S.C.W.C.D., PGDAC(CDAC)
I agree. Here's the link: http://aspose.com/file-tools
subject: Servlet Flow
It's not a secret anymore!