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

<html:rewrite> tag using page attribute bug

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1 RC1
    • 1.1 Family
    • Tag Libraries
    • None
    • Operating System: All
      Platform: PC
    • 20835

    Description

      This bug only exists in RC2 (it worked fine in RC1). When using the html rewite
      tag with the page attribute, Struts is suppossed to generate the full URL based
      on the current application module. However, it places the context root into the
      URL twice. For example...

      source is: <html:rewrite page="/submission/approvepdf/approveOrWait.do"
      paramId="assetUID" paramName="assetState" paramProperty="assetUID"/>'

      Struts generates:
      http://localhost:8080/jest/jest/author/submission/approvepdf/approveOrWait.do?
      assetUID=3487

      Struts should generate:
      http://localhost:8080/jest/author/submission/approvepdf/approveOrWait.do?
      assetUID=3487

      The context root in the above example is jest.

      Wayne Robinson.

      Attachments

        Activity

          People

            Unassigned Unassigned
            serin Wayne Robinson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: