Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

How to put file on client side

  Asked By: Joao    Date: Sep 03    Category: Java    Views: 832
  

I have an problem. I want to save a file on client side. actually in my
application i am generating a file. if user want to dislpay the content of file,
it is first downloaded. but the file size may be in MB. So i want that the file
first downloaded should reside on the client macine. so that he request again
for that file, it will not be dowloaded. How can i do this.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Nina Garcia     Answered On: Sep 03

use an unsigned applet to view your files , make every file  requested a jar as a
resource to applet. Use Resource.get("your file ") as input for your doc viewer.
track user  downloaded files in another list (maybe in app scope). By this way
every time your doc viewer applet opens, its easy for your jsp page of your
applet, create and add jars as
resources ..... peh forget it. use an signed applet. the rest of all is your
imagination.

 
Didn't find what you were looking for? Find more on How to put file on client side Or get search suggestion and latest updates.




Tagged: