Tips for using Try/Catch Block in Struts:
1. Do not use Try/Catch block within the action class as far as possible.
2. If you use Try/Catch block, use it with custom defined exception.
3. Use proper Error-Message to handle the error.
4. Do not let the 'Page Not Found' error in your application.
5. Have a standard error page for your errors to have a standard error interface.
Monday, January 26, 2009
Subscribe to:
Post Comments (Atom)
2 comments:
Hi,
All your posts are very useful. I find a great useful with all blogs as I am in the developing side. I will expect more technical blogs from u.
thanks a lot for your time and efforts to help others
Post a Comment