This is version 10. It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]


This tag specifies the page name of a single welcome file.

A welcome file is provided when a website or web application is accessed using only the domain name (

Welcome files must exist as physical files in your application, or in Servlets 2.4 and above can also be servlets that are defined in web.xml.

The leading slash should not be specified.

Example 1: a shockwave file in your application root folder


Example 2: a file in /info/help.htm (not sure why you would want to do this, but it is possible!)


Example 3: if you are using a servlet, and the <url-pattern> for the servlet is /servlet/MyServlet, you would specify servlet/MyServlet, without the leading slash.


See Also

metawerx specific

referring pages