Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-2224

Forward path in Validator struts-config.xml in struts-examples incorrect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2.4
    • 1.2 Family
    • Example Applications
    • None
    • Operating System: All
      Platform: All
    • 31374

    Description

      Currently in struts-examples, the validator module's struts-config.xml file
      contains the following action:
      <action path="/jsType-submit"
      type="org.apache.struts.webapp.validator.TypeAction" name="jsTypeForm"
      scope="request" validate="true" input="input">
      <forward name="input" path="/editJsType-submit.do?typeForm.reset=false" />
      <forward name="success" path="/welcome.do" />
      </action>

      The path for the "input" forward is incorrect as editJsType-submit does not
      exist. I believe the "input" forward should read:
      <forward name="input" path="/editJsType.do?typeForm.reset=false" />

      I'm a bit of a Struts novice at the moment so can someone confirm that my
      assessment is correct?

      Unfortunately I don't have any access to create a patch for this at the moment
      but will attempt to create one soon if no-one else does first.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rmsnz@xtra.co.nz Richard Bywater
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: