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

javascript Error : Dojo is undefined

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Not A Problem
    • Affects Version/s: 2.0.14
    • Fix Version/s: Future
    • Component/s: Core Actions
    • Labels:
    • Environment:

      Windows

    • Flags:
      Important

      Description

      Hi,
      My application is using both, in one module struts1 and in other module struts2. i have to do file uploading in struts1 but due to struts2 filter mapping as given below
      <filter-mapping>
      <filter-name>struts2</filter-name>
      <url-pattern>/*</url-pattern>
      </filter-mapping>
      Struts1 considering the multipart request as the http request, so i am getting the FormFile always Null. To solve this problem, I have changed <url-pattern>.action</url-pattern>, Now my problem of file uploading is solve, But it has created new problem in struts2 module while travercing the module, I for the javascript exception "Dojo is undefined". I am not getting any solution to solve this problem. i can not convert back url-pattern to / if do this my file uploding will not work.

      Request you to send me solution As early as possible

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              prashantborse prashant borse
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified