This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ajax file upload and javascript

 
jite eghagha
Ranch Hand
Posts: 128
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to submit parameters and images to a servlet using valums / file-uploader uploader

The trouble my is Servlet receives no parameters on my first upload, and will sometimes receive parameters if i refresh the page. The Servlet always receives the file.

below is the javascript that handles the upload: (i script runs )



Below is the Boby of page:


 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you used a tool such as Fiddler to see what is being sent to the server?

Eric
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic