File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

About ServletConfig Object

Raj chiru
Ranch Hand

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

Joined: Mar 22, 2005
Posts: 42965
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

Joined: Jan 10, 2002
Posts: 63865

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

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: About ServletConfig Object
It's not a secret anymore!