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 About ServletConfig Object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "About ServletConfig Object" Watch "About ServletConfig Object" New topic
Author

About ServletConfig Object

Raj chiru
Ranch Hand

Joined: Aug 12, 2008
Posts: 141
Hi......
Mydout is ServletConfig is an interface,so who implements this interface? and How?
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42954
    
  73
Check the source code of whatever servlet container you're using - it will include a class that "implements ServletConfig".

You can also check its class name in the servlet by calling "conf.getClass().getName()" (assuming that "conf" is the ServletConfig object).
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 62278
    
  68

But the best thing is, who cares? As servlet authors, we don't need to know. Aren't interfaces great?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: About ServletConfig Object