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

Tommy,

Tommy Pham wrote:
| Thanks all for the reply.  Somehow I missed that attribute.  Looks
| I'll have to define the error-pages.  If I specify in the web.xml in
| the conf folder, does apply to all web apps deployed for that
| host/virtual host?

I would imagine so. You could easily try it with your web application
deployed multiple times.

| And what happens if certain web apps define their
| own error-page in in it's own web.xml?  Does the web app's definition
| override the host/virtual host's?

That's what I would expect. TOMCAT_HOME/conf/web.xml is supposed to be
the default configuration. Any application should be able to override
these defaults.

Just remember that setting an <eror-page> in TOMCAT_HOME/conf/web.xml is
going to have to point to a resource that actually exists. That puts a
dependency on a webapp that is not guaranteed to be deployed -- so watch
out!

- -chris

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

iEYEARECAAYFAkijBVsACgkQ9CaO5/Lv0PCJfgCfYODRK4YxP726O5rvX0vFBToX
GGUAnjrxIj9d/AtuhvJqcxhkXaAEa3/H
=Ki9/
-----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