Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring AOP config with JSP

 
Sunny Bhandari
Ranch Hand
Posts: 448
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic