File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes welcome-file-list Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "welcome-file-list" Watch "welcome-file-list" New topic
Author

welcome-file-list

Ambika Jain
Ranch Hand

Joined: Jan 27, 2005
Posts: 48
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.


Ambika Jain
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61601
    
  67

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 ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

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 ]

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Mark Vedder
Ranch Hand

Joined: Dec 17, 2003
Posts: 624

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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: welcome-file-list