aspose file tools*
The moose likes Servlets and the fly likes servlet config and servlet context Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet config and servlet context" Watch "servlet config and servlet context" New topic
Author

servlet config and servlet context

sitaram irrinki
Ranch Hand

Joined: Feb 16, 2005
Posts: 158
How many servletconfig&servletcontexts are formed when ever 10-clients accessing one servlet program
stan ioffe
Greenhorn

Joined: Jun 30, 2005
Posts: 16
Every web application has exactly ONE instance of javax.servlet.ServletContext ... according to java's specification.

Each servlet has its own ServletConfig object. In other words, there is 1 ServletConfig object for each servlet. Think of ServletConfig as a wrapper around servlet's initialization parameters that are passed into the servlet for its instantiation.

-Stan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlet config and servlet context
 
Similar Threads
Is there any way to get Servlet Init Parameter using EL?
How can I change the sdk version of Websphere 4 if I already install it
javascript, servlets and SVG
Capturing Form Data
Export in Excel