开发者

Using AspectJ on JSP

I am trying to use AspectJ on my java beans, which I will use eventually in a JSP.

Can anybody lead me to do this? Because I really cannot succeed, even though the thing seems to be trivial!

Also, the tomcat is telling me org.aspectj.lang.NoAspectBoundException

Thanks in a开发者_JAVA百科dvance!


hey i managed to solve it!

followed this tutorial forums.sun.com/thread.jspa?threadID=5401681/

… it is important for the newbies (like me), you have to declare the aop.xml, by right-clicking on your project drop-down the AspectJ-Build and Add the aop.xml also, in your class path (of the Run Configuration) you have to add the aspectjrt.jar this should work!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜