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

Plugin script resources don't load when action extension is blank

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.1.8
    • Fix Version/s: 2.5.x
    • Component/s: Core Actions
    • Labels:
      None
    • Flags:
      Important

      Description

      Using <s:head> outputs a link to utils.js:

      <script src="/mycontext/struts/utils.js"...></script>
      

      But the file can't be found. FYI, I have no action extension. The solution is to make the action extension a comma:
      http://stackoverflow.com/questions/12607075/struts2-action-extension-causing-css-javascript-and-struts-dojo-to-break

      But this is obviously a bug.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pbenedict Paul Benedict
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: