www.webdeveloper.com
Results 1 to 3 of 3

Thread: How to handle uploaded file

  1. #1
    Join Date
    Jul 2009
    Location
    Turkey
    Posts
    10

    Question How to handle uploaded file

    Hello to everyone,

    I have a problem while handling the uploaded file from client-side (with Javascript).. Can anyone give a sample code to do this? I just want to move handle the uploaded file and move it the right place in my server.. When the user submit the file on client-side; I send multipart form to servlet (server-side).. But in servlet how can I do these?

    I need urgent helps.. Thanx in advance...

    With regards,
    T

  2. #2
    Join Date
    Jan 2009
    Posts
    3,346
    I'm not 100% sure off the top of my head but a quick search brought up a couple of tutorials:
    http://www.developershome.com/wap/wa....asp?page=jsp3
    http://www.developershome.com/wap/wa....asp?page=jsp2

  3. #3
    Join Date
    Jul 2009
    Location
    Turkey
    Posts
    10
    First off all thank u for ur reply dear friend..

    Well, I tried a lot to use the libraries which ur links offer.. But it gives a big exception despite I include latest .jar file from official source(http://commons.apache.org/fileupload/).. I googled and noticed that they're some people who took same exception too.. I really don't understand why it's so hard to do this with Java.. We can do this with 10 lines PHP code.. But with Java - as in the source u gave or in the others - developers use apache's libraries or oreilly's libraries.. both of them are really BIG libraries with many many classes..

    Anyway I'll be so happy if someone helps me to solve this boring problem.. Again ALL I want to do is handling the uploaded file from client-side..

    Thanx in advance..
    With regards,
    T

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles