wood burning stoves 2.0
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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: 42958
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: 63350

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]
I agree. Here's the link: http://aspose.com/file-tools
subject: About ServletConfig Object
It's not a secret anymore!