A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
About ServletConfig Object
Joined: Aug 12, 2008
Jun 10, 2009 05:24:52
is an interface,so who implements this interface? and How?
Joined: Mar 22, 2005
Jun 10, 2009 05:32:02
Check the source code of whatever
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
Ping & DNS, my free Android app for network diagnostics
Author and ninkuma
Joined: Jan 10, 2002
Jun 10, 2009 08:23:06
But the best thing is, who cares? As servlet authors, we don't need to know. Aren't interfaces great?
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: About ServletConfig Object
Why does GenericServlet implements ServletConfig?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014