Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-1608

Apache Struts 2 Documentation > Home > Tutorials > Bootstrap > Validating Input's example is wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.0.1
    • 2.0.3
    • Documentation
    • None

    Description

      In Apache Struts 2 Documentation > Home > Tutorials > Bootstrap > Validating Input section.

      The document tell me that we should delete <action name="Login" class="tutorial.Login"> and replace by <action name="Login!*" method="

      {1}" class="tutorial.Login"> in struts.xml. but when i do like this, tomcat report "No result defined for action com.opensymphony.xwork2.ActionSupport and result input - action".

      Actually this is not need to replace "<action name="Login" class="tutorial.Login">" by "<action name="Login!*" method="{1}

      " class="tutorial.Login">", struts will auto find the method in class.

      Attachments

        Activity

          People

            mrdon Donald J. Brown
            horsefaced chenshi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: