wood burning stoves 2.0*
The moose likes Struts and the fly likes Struts2 Action Mapper Interceptor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 Action Mapper Interceptor" Watch "Struts2 Action Mapper Interceptor" New topic
Author

Struts2 Action Mapper Interceptor

pragyan chitrakar
Greenhorn

Joined: May 20, 2013
Posts: 1
Struts 2 has a concept of ActionMapper which maps URL request to specific action class using Java mapping instead of XML mapping. This can be created using setting one property in struts.xml as <ActionMapperKey>=<ActionMapperClass>. This mapper does not have <action> tag entry in struts.xml.

My requirement is that i have one existing ActionMapper class. I want to configure one interceptor on this mapper.

How can i add the interceptor to the ActionMapper.
 
wood burning stoves
 
subject: Struts2 Action Mapper Interceptor
 
Similar Threads
NullPointerException @ validation interceptor
Problem occuring in calling servlet
how to populate roles in Roles Interceptor in Strust2
EJB3 Injection - how to Inject it into struts 2 Action?
Configuring a Interceptor to a Struts Action class