File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 Action Mapper Interceptor" Watch "Struts2 Action Mapper Interceptor" New topic

Struts2 Action Mapper Interceptor

pragyan chitrakar

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.
I agree. Here's the link:
subject: Struts2 Action Mapper Interceptor
It's not a secret anymore!