I am using struts1.0. I am using Global exception in struts-config.xml. Now i want to insert the global exceptions directly from struts-config.xml to my database, before going into the respective jsp page. Is there any way out?
As you said, you are using global exception handling of Struts, then you must have implemented GlobalExceptionHandler. In that class you can write a logic which takes the exception with cause and insert them into DB and then redirect user to common jsp page notifying the error..