Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

what is the use of servletConfig  RSS feed

 
sam liya
Ranch Hand
Posts: 1267
  • 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
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!