• Post Reply Bookmark Topic Watch Topic
  • New Topic

Tasks inplemented in init() method?  RSS feed

 
Rakesh Mehra
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
typical tasks implemented in init() are:
1. Read configuration data from persistent resources such as configuration information,
2. Read initialization parameters using ServletConfig object.

how are the above 2 points(configuration data from persistent resources,initialization parameters) accomplished..

Initization parameters are through web.xml. if i'm not wrong.
but then what is configuration data and persistent resources.
 
sudhir nim
Ranch Hand
Posts: 212
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Configuration data can be some configuration parameters specified in .properties files or some persistence storage like database.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!