Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Handle file content using javascript

 
Michael Celaya
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

We would like to pass the file -any kind of file- content(notice we don't want the file route with the name, we want the data) that the user has chosen from the to the opener window(the form with the file browser is located in a child window).And then upload it to the database. Is there any chance to do this, without java-jsp?(we prefer using just javascript)

Thanks in advance.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaScript has no IO ability, you need to use a serverside language.

Eric
 
Michael Celaya
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the answer Eric.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic