This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Interceptor is not getting called" Watch "Interceptor is not getting called" New topic

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 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.
It is sorta covered in the JavaRanch Style Guide.
subject: Interceptor is not getting called
Similar Threads
problem with starting Struts2
Struts 2 : Authentication & Authorization
struts2 question!
struts2 + interceptor
struts2 login interceptor not finding session attribute of user details.