• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ServletContext-Regarding

 
vinod balaji
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In HFSJ, Pgno 209 QNo 2.
Which Statement about ServletContext initialization Parameters are true.

Answer Given: A,D,F

I have doubt in Answer A. In page no 149 , they have mention that which ever is going to change, we can configure in DD, but the answer A is against this.

Please Explain me ..

Thanks
 
Renu Radhika
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you give the question and option
 
Sreeraj G Harilal
Ranch Hand
Posts: 310
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whenever we make any changes in DD it will effect only after restarting the server.So restarting server regularly is not a good idea and time consuming process.That server is also contain another projects too.

Because of that DD is used only for rarely changed init parameters.
 
vinod balaji
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply, still i have doubt .

Q.Which Statement about ServletContext initialization Parameter are true?

A. They should be used for data that changes rarely
B. They shoudl be used for data that changes frequently


Which is the correct option..

In my understanding, we init in dd as when we need to change any thing which is used in all webappl/servlets we can change easily..correct me if im wrong
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic