It's not a secret anymore!
The moose likes Spring and the fly likes Spring AOP config with JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring AOP config with JSP" Watch "Spring AOP config with JSP" New topic

Spring AOP config with JSP

Sunny Bhandari
Ranch Hand

Joined: Dec 06, 2010
Posts: 448

I have configured AspectJ in my spring application. Since my app is a legacy app which is using JSP scriptlet code for server side processing.

The problem I am facing is that I want to invoke an @AfterThrowing Advice when an Exception occurs in the JSP scriptlet code.

My Advice method signature as of now is:

In the above code, OtherBeanIntf is another Java bean which is working fine with this logging advice. Now how do I configure this advice to work with JSP scriptlet code too?

Java Experience
I agree. Here's the link:
subject: Spring AOP config with JSP
It's not a secret anymore!