File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet Flow

 
Pankaj Shet
Ranch Hand
Posts: 289
Java Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic