Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

config object in GenericServlet class  RSS feed

 
PNS Subramanian
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When we have our own application servlets extend the GenericServlet class -we need to call super.init(config) - the reason being config is a private transient variable in GenericServlet class.Why is the config object stored as a private transient variable in GenericServlet class ? Any special reason behind it ?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!