In Struts.... I would catch the action where it happens and keep rethrowing it to the container.
This way web.xml error page can display a nicley formated message.


.V

Nathan Maves wrote:

Just curious what the best practices about this are. And since the DaoExcpetion is now a runtime you have to explicitly put your try {} catch {} blocks somewhere right :)


Here is my setup

Struts Actions (Presentation)
Service Layer (Business Logic) I assume here :)
Dao layer    (Data Access Layer)


Nathan






Reply via email to