• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

About ServletConfig Object

 
Raj chiru
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi......
Mydout is ServletConfig is an interface,so who implements this interface? and How?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But the best thing is, who cares? As servlet authors, we don't need to know. Aren't interfaces great?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic