• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

welcome file lists in deployment descriptor?

 
Kumaran Sowrirajan
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends
Can anyone tell me the explanation for welcome file lists in the deployment descriptor?
Also what is the purpose of this welcome file lists?
Thanks and Regards
Kumaran.S
 
Ernest Lee
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it is used to define which file to display when client enter partial URI. For example, if we have a welcome-file element defined as index.html, then http://www.ernestlee.com/me/ will lead to http://www.ernestlee.com/me/index.html if index.html does exist.

but this lead to other question;
when servlet-mapping and welcome-list contradict each other, which one wins the battle???

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic