who should catch exception from servlet

Hi,

I have a few servlet registered with tomcat as follow:

frontController/

financialServlet/financial

If there is an exception thrown in financialServlet will be bubble up to frontControler or to a tomcat servlet?

My goal is to write a custom exception and throw it whenever there is an error caused by user input and all these exeption is then catched globally to direct user to an error page.

[432 byte] By [lnthai2002a] at [2007-11-27 6:04:14]
# 1
You could use a filter
oropezaa at 2007-7-12 16:48:06 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...