File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes what is servlet config Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "what is servlet config" Watch "what is servlet config" New topic
Author

what is servlet config

Deepthi Tanguturi
Greenhorn

Joined: Sep 06, 2011
Posts: 17
ServletConfig is a servlet configuration object used by a servlet container used to pass information to a servlet during initialization. All of its initialization parameters can ONLY be set in deployment descriptor.
The ServletConfig parameters are specified for a particular servlet and are unknown to other servlets.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61761
    
  67

So what is your question?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Deepthi Tanguturi
Greenhorn

Joined: Sep 06, 2011
Posts: 17
Bear Bibeault wrote:So what is your question?

when to use servlet config object
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61761
    
  67

Usually in the init() life-cycle method to process the servlet's init parameters
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is servlet config