Discussions
Web tier: servlets, JSP, Web frameworks: Spring MVC: How to Handle exceptions thrown when rendering view
-
Spring MVC: How to Handle exceptions thrown when rendering view (1 messages)
- Posted by: J Dev
- Posted on: June 24 2008 08:36 EDT
May any one tell me how to handle exceptions thrown when rendering the view? I have an excelview[extends AbstractExcelView] which may throw exception during getTemplateSource() [this method overrides the super class method] if the file is invalid. This is a framework called template method. whenever the exception is thrown, stack trace is displayed on page. I want to handle the exception and display the message to the user. HandlerExceptionResolver dont resolve exception thrown from views. Is there any thing similar to 'HandlerExceptionResolver' which may be used? or any other alternative ? Any idea? jsptubeThreaded Messages (1)
- Re: Spring MVC: How to Handle exceptions thrown when rendering view by satya das on June 27 2008 04:31 EDT
-
Re: Spring MVC: How to Handle exceptions thrown when rendering view[ Go to top ]
- Posted by: satya das
- Posted on: June 27 2008 04:31 EDT
- in response to J Dev
you can check in the spring tutorial http://www.techfaq360.com/tutorial/spring/spring.jsp