Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Note

Please make sure you have read the Tag Syntax document and understand how tag attribute syntax works.

Description

Wiki Markup
{snippet:id=javadoc|javadoc=true|url=org.apache.struts2.components.Submit}
Note

To use method attribute (to use multiple submit buttons which direct to different action methods) you must set struts.enable.DynamicMethodInvocation to true but this can lead to security vulnerability - use with care! Instead you can try to use Multiple Submit Buttons solution.

Note

This tag works with all themes, but has special importance when combined with the form tag in the ajax theme. Please read up on the ajax theme for more information.

Parameters

Wiki Markup
{snippet:id=tagattributes|javadoc=false|url=struts2-tags/submit.html}