tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Allan Kamau <hugebirdwi...@yahoo.com>
Subject error-page element in the web.xml HOWTO
Date Mon, 18 Feb 2002 11:56:27 GMT
I'd like to configure an error page for my entire
context.
I've gone through the web-app_2_2.dtd and came up with
the following solution which I added to my contexts
web.xml file

	<error-page>
		<error-code>404</error-code>
		<location>http://localhost:8080/</location>
	</error-page>


Now he context is been deployed but cannot be run
indicating some problem.
How can I solve this error or where am I going wrong?
 
Thank you.
Allan Kamau.



__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message