• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web.xml for distributed web application?

 
Kyle Tang
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
If a web application is distributed on multiple machines, then there will be multiple web.xml files, right?
Now, if different web.xml defines different <context-param>, what will happen?
On "SCWCD study Kit" page 89, it says ServletContext init parameters are available on all JVMs, what does that mean? Does that mean each machine will have a different set of init parameters?
Thanks!
Kyle
 
Nazmul Huda Sarkar
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think no...there is only one copy of web.xml file....when the application is loaded and distributed over dufferant JVM on server then the same web.xml is available in all JVM....
 
Kyle Tang
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Nazmul.
hopefully the exam won't ask too much about distributed webapp.
 
Nazmul Huda Sarkar
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes...I'm also hopefull ....I'm going to sit for on next 30th september....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic