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?
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..
Bookmarks