I need to display a custom message on VM (Apache Velocity template) if some exception occurs while processing in service / dao classes. We need to display the message on same VM, for example if some exception occurs while processing we need to display a messase saying 'Could not process your request due to system error, please contact your administrator'.
Do provide some pointers on how to achive this. We are using Velocity with Struts 1.4 in our project.
Did you ever grow anything in the garden of your mind? - Fred Rogers. Tiny ad: