Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question on welcome-file-list

 
Leena Diwan
Ranch Hand
Posts: 351
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there!

I know that we use a welcome file
1. to serve the client if she has not typed the URL properly.
2. to serve the client when we just start the web app.

What I do not understand is why more than one files can be welcome-files?

Im finding this as having more than one front main doors to the house!

Thanks in advance

Leena
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Welcome files" are used when a person requests a URL that is actually a directory instead of a file, e.g. http://www.microsoft.com or http://www.microsoft.com/ versus http://www.microsoft.com/index.html.

The reason why you specify as many welcome files as you want is that in some cases some directories may have different welcome files. For example, if your welcome files are "index.jsp" and "welcome.jsp", one directory may have "index.jsp" there, while another only has "welcome.jsp". Etc. Make any more sense now?
 
Leena Diwan
Ranch Hand
Posts: 351
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ya this does make sense.

How would you decide to provide how many welcome files to define?
As many dirs in your sys? That would be redundant!

Cheers!
Leena
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic