Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the struts.xml configuration file you must specify the Spring id value for the class attribute of the action node. This tells Struts to get a bean with that id value from Spring for the Action class.

Code Block
XML
XML
1titleStruts Configuration For Spring Managed ActionSupport Class

<action name="edit" class="editAction" method="input">
	<result name="input">/edit.jsp</result>
</action>

...

Previous

Return to Struts 2 Themes

...