wood burning stoves 2.0*
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 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" Watch "interceptor" New topic
Author

interceptor

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 ??

thanks.
David Newton
Author
Rancher

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: interceptor