my dog learned polymorphism*
The moose likes HTML, CSS and JavaScript and the fly likes Handle file content using javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Handle file content using javascript" Watch "Handle file content using javascript" New topic
Author

Handle file content using javascript

Michael Celaya
Greenhorn

Joined: Dec 21, 2005
Posts: 18
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
JavaScript has no IO ability, you need to use a serverside language.

Eric
Michael Celaya
Greenhorn

Joined: Dec 21, 2005
Posts: 18
Thanks for the answer Eric.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Handle file content using javascript