File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes  what is servletconfig Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark " what is servletconfig" Watch " what is servletconfig" New topic

what is servletconfig

nitin tonk

Joined: Nov 02, 2004
Posts: 7
what is servletconfig.for what purpose it is use .how can use servlet config.plese send me some code of it.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
The best way to learn about the ServletConfig class is to read the JavaDocs and one of the many servlet tutorials such as this one.
Fisher Daniel
Ranch Hand

Joined: Sep 14, 2001
Posts: 582
ServletConfig object is a configuration object.
Using this, our servlet can access initialization parameters which we declare on web.xml

Correct me if i am wrong..
I agree. Here's the link:
subject: what is servletconfig
It's not a secret anymore!