Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

what is the use of servletConfig  RSS feed

 
sam liya
Ranch Hand
Posts: 1246
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is the only use of servletconfig is Initializing the servlet ?
what are the others ?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is a hint:

When wondering about the function of a Java class or interface, examine the JavaDocs.

In this case you will see that ServletConfig has methods to let your servlet get at init parameters and the ServletContext.

Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!