Results 1 to 2 of 2

Thread: File Upload, How to access uploaded file names

  1. #1
    Join Date
    Sep 2004
    Posts
    18

    Default File Upload, How to access uploaded file names

    This may be a stupid question, but the reference guide surely doesn't cover this. How do I get filename/path of the uploaded files using the CommonsMultipartResolver? I have a bean with a byte[] property. The data gets binded just fine, but I also need the file name so I can determine the extension.

    Thanks

  2. #2
    Join Date
    Sep 2004
    Posts
    18

    Default

    I actually found another post with the answer here:


    http://forum.springframework.org/showthread.php?t=10813
    Last edited by robyn; May 14th, 2006 at 11:19 AM.

Similar Threads

  1. Cannot upload file using web flow
    By mcsenter in forum Web Flow
    Replies: 5
    Last Post: Mar 7th, 2011, 09:10 PM
  2. Replies: 5
    Last Post: Mar 17th, 2010, 04:32 AM
  3. Saving large files to a db using hibernate?
    By Dan Washusen in forum Data
    Replies: 10
    Last Post: Sep 20th, 2006, 12:18 PM
  4. Deferred file upload
    By Thomas Matzner in forum Web
    Replies: 4
    Last Post: Sep 30th, 2005, 12:06 PM
  5. Replies: 1
    Last Post: Jun 16th, 2005, 04:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •