1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    38
    Vote Rating
    -5
    mayur_satasiya can only hope to improve

      0  

    Default Unanswered: Error on File Upload

    Unanswered: Error on File Upload


    HI, while uploading (sending request for file upload) i got bellow error in network panel and getting error on preview is :
    org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.web.multipart.MultipartException: Could not parse multipart servlet request; nested exception is org.apache.commons.fileupload.FileUploadException: the request was rejected because no multipart boundary was found
    org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:681) org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585) javax.servlet.http.HttpServlet.service(HttpServlet.java:641) javax.servlet.http.HttpServlet.service(HttpServlet.java:722)


    consol1.jpg

    consol2.jpg


    Network1.jpg

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,154
    Vote Rating
    475
    Answers
    686
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Without any code, it would be difficult to provide a solution. Perhaps this will help:
    http://loianegroner.com/2011/07/extj...mvc-3-example/

    Regards,
    Scott.

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    38
    Vote Rating
    -5
    mayur_satasiya can only hope to improve

      0  

    Default


    Thanks for your replay
    i have already seen that post but i need Multiple file upload.and i am using http://debug.cz/demo/upload/docs/#!/....upload.Dialog this widget and i can't find the name of that file means name: 'file', or how can i find the file path from http request and content-type : 'multipart/form-data', please help me

    thanks in advance

  4. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,154
    Vote Rating
    475
    Answers
    686
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    What version of ExtJS are you using?

    I am not familiar with Spring so you may have to find someone with experience in that arena.

    Scott.

  5. #5
    Sencha User
    Join Date
    Apr 2012
    Posts
    38
    Vote Rating
    -5
    mayur_satasiya can only hope to improve

      0  

    Default


    i am using ExtsJS 4, while i am using multipart/form-data as content type then but at that time i can't find the filemap from multipart http request...
    but can u tell me which name is used for the file in above given link widget..?
    means how can i receive file parameter from extjs
    For Example
    {
    xtype:'textfield',
    name :'username',
    id :'uid'
    }
    what will be the name for file in given link widget please help me,

    thanks in adcance

Thread Participants: 1

Tags for this Thread