File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Configuring a Interceptor to a Struts Action class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Configuring a Interceptor to a Struts Action class" Watch "Configuring a Interceptor to a Struts Action class" New topic
Author

Configuring a Interceptor to a Struts Action class

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hello ,
Please help me in configuring my single Interceptor to my Action class.

This is my Interceptor class



This is inside my struts.xml file :



Now please tell me how can i add this interceptor to My Struts Action class . ( I have written this but don't know further how to associate them )

Please help




Save India From Corruption - Anna Hazare.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

I've asked you a half-dozen times to read the documentation. You refuse. Why? Being able to locate and understand answers *on your own* is a *critical* skill for any responsible developer.

http://struts.apache.org/2.1.8/docs/interceptor-configuration.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Configuring a Interceptor to a Struts Action class
 
Similar Threads
Needs Explanation
interceptor not working in struts 2
use of interceptor
Struts2 Interceptor Error in struts.xml file
Need Help about Interceptors in Struts2