Results 1 to 4 of 4

Thread: How to implement exception handling for web application using Springs

  1. #1
    Join Date
    Aug 2009
    Posts
    5

    Default How to implement exception handling for web application using Springs

    Hi,

    1. How to implement Exception Handling mechanism for entire web application using spring?

    2. Please provide examples with configuration detaills.

    Any one can answer the above queries , it would be great for me.

    Thanks ,

  2. #2
    Join Date
    Nov 2009
    Posts
    3

    Default

    Hi,

    I'm also looking for any samples/tutorials for implementing exception handling in Spring. So I would like to know if you got any information or reference links.

    Thanks,
    Kruthika

  3. #3
    Join Date
    May 2007
    Location
    Saint Petersburg, Russian Federation
    Posts
    1,189

    Default

    Have you read the sixth spring reference chapter already - 6. Aspect Oriented Programming with Spring?

  4. #4

    Smile

    Hi,

    Please refer to http://static.springsource.org/sprin...c.html.section 13.10.


    You can use SimpleMappingExceptionResolver in your applicationContext.xml amd redirect it to an appropriate view when an erro has been thrown.

    Find the example of the SimpleMappingExceptionResolver in the below link.
    http://developingdeveloper.wordpress...ng-mvc-part-2/

    Hope it helps

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •