This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes who converts response object into Http response? container or web server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "who converts response object into Http response? container or web server?" Watch "who converts response object into Http response? container or web server?" New topic
Author

who converts response object into Http response? container or web server?

Kiran Godishala
Greenhorn

Joined: Mar 16, 2009
Posts: 2
Hi all ,
In HFJS I could see in page 42 " the container converts response object into HTTP response" where as in page 61 it is said that the web server does that activity. Can any one conform which one is correct?
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9291
    
  17

Hi Kiran, welcome to javaranch.

The web server just passes client requests to the servlet container and the container is responsible for the conversion (I think so )...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Poonam Agarwal
Ranch Hand

Joined: May 12, 2008
Posts: 323
Ankit is right!!

web container is responsible for providing , implementation details for all the required interfaces. like servletRequest OR httpServletRequest.


Thanks <br />Poonam Agarwal SCWCD 86%
Kiran Godishala
Greenhorn

Joined: Mar 16, 2009
Posts: 2
Thanks Ankit and Poonam.

So I can conclude that the job of convertion from response object into HTTP response is done by container and hands it over to web server app which gives the same it to client, can I?
Poonam Agarwal
Ranch Hand

Joined: May 12, 2008
Posts: 323
Yes!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: who converts response object into Http response? container or web server?
 
Similar Threads
head first question...
HFJS-page 43
About the response object
Which one is the correct answer ( HFS) please clear
HF: Error on page 62 (Exercise Solutions) ?