<bean id="logAspectJ" class="aop.LogAspectJ"/>
<aop:config>
<aop:aspect id="logaop" ref="logAspectJ">
<aop:pointcut id="logpointcut" expression="execution(* dao.*.*(..))" />
<!-- <aop:pointcut id="loginpointcut" expression="execution(* action.*.*(..))" /> -->
<aop:after pointcut-ref="logpointcut" method="myBeforeAdvice"/>
</aop:aspect>
</aop:config>
各位大侠帮忙看一下,web项目下面的aop这样配置可以吗|?