This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Servlets and the fly likes help me guys to solve this teaser. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "help me guys to solve this teaser." Watch "help me guys to solve this teaser." New topic
Author

help me guys to solve this teaser.

jaspal singh
Ranch Hand

Joined: Sep 15, 2005
Posts: 54
Hi guys,
before i question anything, I would like to thank all u guys on this ranch arean,A BIG THanx, as u hav always rescued when i see myself under the water.

problem:
1.wat i want to know is that how exactly servlets are managed by container.wats the role of web-server in servlet handling.

2.how many instance are created for a single servlet, for all requests.

3.how classloader is used by server for dynamically loading the changed servlet instance.

thanxz in advance.


Teach me the art of forgetting, for I always remember wat I have forgotten.
suman deb
Ranch Hand

Joined: Jul 14, 2005
Posts: 54
hi,

ans 2) only one instance per servlet
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

First, "help me guys to solve this teaser" is not a very descriptive subject.
Please read:
http://faq.javaranch.com/view?UseAMeaningfulSubjectLine

Second, the answers to these questions would be too long for a forum like this. The best way to get an understanding of these things is to read the servlet spec itself.
There is a link in my signature.
If there one thing in there that you're having a hard time getting your head around, by all means, come on back and ask.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
Don't get me started about those stupid light bulbs.
 
subject: help me guys to solve this teaser.