Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

welcome-file-list

 
Ambika Jain
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In the web.xml file, is it compulsory to add only index.html files or we can add othe files too. Also are these the files that get loaded by default.

I tried to look into details about welcome-file-list tag but did not find much info. Is there any link where all the tags are well explained.

Thanks so much.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64613
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's not compulsory to add anything at all.

Here's google's first hit on the matter.
[ February 14, 2005: Message edited by: Bear Bibeault ]
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Amba Joshi:
Hi,


I tried to look into details about welcome-file-list tag but did not find much info. Is there any link where all the tags are well explained.

Thanks so much.


Why not read the same explanation that the builders of the app servers read?
http://www.jcp.org/aboutJava/communityprocess/final/jsr154/

[ February 14, 2005: Message edited by: Ben Souther ]
[ February 14, 2005: Message edited by: Ben Souther ]
 
Mark Vedder
Ranch Hand
Posts: 624
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can also take a look at the sample chapter 5 "Controlling Web Application Behavior with web.xml" from the book More Servlets and JavaServer Pages. You can download it from the book's website www.moreservlets.com. It is a great resource on understanding the deployment descriptor file (i.e. web.xml). Of course, the book is an even better resource for understanding Servlets & JSPs as a whole
[ February 14, 2005: Message edited by: Mark Vedder ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic