• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Servlet processing

 
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When a request is sent to a Http servlet from the client's web browser which class(es) actually take the request before delegating and invoking the actual servlet ?
 
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Depends on the web-server. Here is what I found for Tomcat:

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thankz sathya..am also looking for it

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Don't.

Don't look for this.

This is not needed to be known by you. At all. Ever.

You are falling into the implementation trap. You may find which classes call this on Tomcat, on X, on Y, on Z, etc. But what about Tomcat 5 vs. 6? What about X1 vs X2.5?

The basics of what you need to know for your container is what servlet specification it implements and that is places elements found in the web.xml file in the appropriate order. You can write simple test cases to verify this.

It doesn't matter what calls the Servlet classes you specify, as long as you verify that they DO GET CALLED. You are trying to find out increasingly irrelevant information. There is a reason you have a container in the first place, so you don't have to worry about all this start up code and threading...you just worry that your code will function properly once you rest easy that it is indeed being called.
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi santhosh,

Lot of ground work involved in transforming your data from server to client. All this implementation is with servers(web servers/app servers). This may vary from one server to another. If you want to get it in full details you will have to go through server APIs which is not really required to work with servlets.

-YGR
 
reply
    Bookmark Topic Watch Topic
  • New Topic