I have a Spring 4 MVC application integrated with HDIV that works perfectly.
I have a requirement in my application if any HDIV error comes in the application then I have to send an email which will contain the HDIV error details. Is there any way in Spring MVC so that I can catch the HDIV error and send an email?
You can create your own
org.hdiv.logs.Loggerextension to catch detected attacks and send the email.To do it, you have to register your custom
Loggerin Hdiv configuration. For example, in JavaConfig: