You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "prashant borse (JIRA)" <ji...@apache.org> on 2013/02/13 11:38:12 UTC

[jira] [Created] (WW-3980) javascript Error : Dojo is undefined

prashant borse created WW-3980:
----------------------------------

             Summary: javascript Error : Dojo is undefined
                 Key: WW-3980
                 URL: https://issues.apache.org/jira/browse/WW-3980
             Project: Struts 2
          Issue Type: Bug
          Components: Core Actions
    Affects Versions: 2.0.14
         Environment: Windows
            Reporter: prashant borse
            Priority: Blocker
             Fix For: Future


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 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira