Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts2 Action Mapper Interceptor

 
pragyan chitrakar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic