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 ths state of servlet object when web server is started  RSS feed

 
Praveen palukuri
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please send me reply

thank u in advance
 
D Rog
Ranch Hand
Posts: 472
Linux Objective C Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hopefully supporting classes loaded by classloader and static initialization can be done.
 
Rajesh Agarwal
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The servlets are not instantiated when the server starts, it is only upon first request that the servlet is loaded into memory.

But alternatively the servlet can also be made to lot on server start up, this requires some configuration changes in the .xml files
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!