This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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.
 
wood burning stoves
 
subject: Interceptor is not getting called