File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Quick question on servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Quick question on servlets" Watch "Quick question on servlets" New topic

Quick question on servlets

Tim McMurry

Joined: Oct 31, 2009
Posts: 22

I am working on understanding how the trio : web server app - Container app - servlet, functions. For this I am reading a nearly worn-out copy of "Head First Servlets and JSP" from my local library.
In chapter 2 there is an exercise where one has to determine wether server, container or servlet is primarily responsible for a certain task. In the solutions the task "Converts a response object to an HTTP response" has been put in the server-column. Is this a typo or dos eg. Tomcat actually know how to do this? I put it in the container column.
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46367
Please avoid abbreviations (eg "q") which aren't familiar to everybody.

We have a servlets forum, so I shall move this question there.
Ankit Garg

Joined: Aug 03, 2008
Posts: 9465

In my book its in the container column...

SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63858

I have adjusted the subject.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Quick question on servlets
It's not a secret anymore!