aspose file tools*
The moose likes Struts and the fly likes Interceptor is not getting called Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Interceptor is not getting called" Watch "Interceptor is not getting called" New topic
Author

Interceptor is not getting called

tyte kyat
Ranch Hand

Joined: May 17, 2011
Posts: 40
Hi, I am trying to learn Login/Logout using Interceptor and my interceptor is not getting called.



struts.xml file is as followed



This is my LoginInterceptor.java file


any suggestion is appreciated!!! Or may be guding to a place where I can learn that will also be good. Thanks
Mohana Rao Sv
Ranch Hand

Joined: Aug 01, 2007
Posts: 485

Everything is fine this is root cause Caused by: java.lang.ClassNotFoundException: com.myauk.interceptor.LogInterceptor make sure that your class is available there. Or else it's missing when building the application.


ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Interceptor is not getting called