2 Replies Latest reply on Aug 27, 2012 3:03 AM by lukas lukasz

    Configure upload file in jboss

    lukas lukasz Newbie

      Hello i am using standard Spring MVC project and javascript framework extjs


      i create simple form and simple controller everything as there loianegroner.com/2011/07/extjs-4-file-upload-spring-mvc-3-example/


      and everything is fina i upload my file but i have got problem with my resoult configuratin because in firebug i have got error:



      "NetworkError: 404 Not Found - http://localhost:8080/lupaband/adminconsole/content/uploadPhotoBandFile.do"
      Ext.Error: You're trying to decode an invalid JSON String: <h1>HTTP Status 404 - /lupaband/WEB-INF/webpages/lupaband/{success:true}.jsp</h1><hr noshade="noshade" size="1"><p><b>type</b> Status report</p><p><b>message</b> <u>/lupaband/WEB-INF/webpages/lupaband/{success:true}.jsp</u></p><p><b>description</b> <u>The requested resource (/lupaband/WEB-INF/webpages/lupaband/{success:true}.jsp) is not available.</u></p><hr noshade="noshade" size="1"><h3>JBoss Web/7.0.10.Final</h3>



      its seems that my controller try return file :/ not string