This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
The moose likes Struts and the fly likes interceptor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "interceptor" Watch "interceptor" New topic


ben oliver
Ranch Hand

Joined: Mar 28, 2006
Posts: 375
my struts 2 action class has a reference to several interceptors. One of my URL maps to a method od the action class. In this mthod, it calls several other methods inside the action class. I know that, for the first time, when I click the URL, per strutts.xml, it finds this Action class and instantiate it, at this time it goes through those interceptors. Now, while it is running through the method, it calls other methods of the action class, when it calls another method, does it go through the interceptors again ??

David Newton

Joined: Sep 29, 2008
Posts: 12617

No--how would it? It's just a standard Java method call, and looking at the debug logs would have provided further evidence.
wood burning stoves
subject: interceptor