Throws advice in AOP concept is another mechanism. Go for AspectJ or Aspect 
Werkz, Spring AOP or ....They all support the lovely Aspect Oriented Concept.
   
  Regards,
  Ramin

Java Pro <[EMAIL PROTECTED]> wrote:
  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 
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:

400
/errorHandler


401
.
.
.

is this possible? (see below)

AllErrors
/errorHandler


or is there any other mechanism?

Thanks.






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to