tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Java Pro <javapro.parvin...@gmail.com>
Subject [Fwd: How can we capture all errors without defining it]
Date Thu, 16 Feb 2006 17:51:34 GMT
Is there anyone who can help me with this query?


-------- Original Message --------
Subject: 	How can we capture all errors without defining it
Date: 	Wed, 15 Feb 2006 12:30:04 +0530
From: 	Java Pro <javapro.parvinder@gmail.com>
To: 	users@tomcat.apache.org



Hi,

I would like to know, if we can capture all the errors to a servlet 
without defining the list of errors in web.xml as follows..

generally, we can capture an error like this:
	<error-page>
		<error-code>400</error-code>
		<location>/errorHandler</location>
	</error-page>
	<error-page>
		<error-code>401</error-code>
	.
	.
	.

is this possible? (see below)
	<error-page>
		<error-code>AllErrors</error-code>
		<location>/errorHandler</location>
	</error-page>
	
or is there any other mechanism?

Thanks.






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message