-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jonathan,

Jonathan Mast wrote:
| It is a Tomcat 404 error.

Okay, good. That means that Tomcat is handling the request (rather than
Apache handling it) so we are probably not talking about fixing httpd
configuration or your connector (mod_whatever).

| So I take it that I can specify a file name (index.jsp) in the
configuration
| and it will  default to that file?

Yes, you can. You do it using the <welcome-file-list> element (and
sub-elements) in web.xml. The default <welcome-file-list> is (at least
in TC 5.5):

~    <welcome-file-list>
~        <welcome-file>index.html</welcome-file>
~        <welcome-file>index.htm</welcome-file>
~        <welcome-file>index.jsp</welcome-file>
~    </welcome-file-list>

...where order is relevant (the top file will be used first if it
exists, and so on).

You only have to customize this if you want it to use some other file
(or URI, really) when you specify http://host/ (with no additional path).

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkfIhmYACgkQ9CaO5/Lv0PApMQCfaxinrhV4e2shvbF45qTb6xZ5
iJwAn0i71zoyEC44ulKpkr8MKXJ3KBEF
=MY3q
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to