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 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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 38087
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: 9291

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: 60810

I have adjusted the subject.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Quick question on servlets
Similar Threads
Difference between container and servlet?
Help with Error Solution
Chapter 2 (HFSJ) notes , may be useful for anyone
invoking servlets differently
Tool for JVM instance Identifier