What is ActionMapping Class in Struts ?

  • ActionMappings is a collection of ActionMapping objects
  • The ActionMapping contains the knowledge of how a specific event maps to specific Actions.
  • The ActionServlet (Command) passes the ActionMapping to the Action class via the perform() method.
  • This allows Action to access the information to control flow.
  • The struts-config.xml determines what Action class the Controller calls.
  • The struts-config.xml configuration information is translated into a set of ActionMapping, which are put into container of ActionMappings.
  • Classes that end with s are containers.

Enter your email address to get our daily JOBS & INTERVIEW FAQ's Straight to your Inbox.

Make sure to activate your subscription by clicking on the activation link sent to your email