aspose file tools
The moose likes Servlets and the fly likes how to read a file from response object Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "how to read a file from response object" Watch "how to read a file from response object" New topic
Author

how to read a file from response object

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 576
I have servlet response object which file(allowable format).Now I want to read the file from response Object and save that file in some location of my computer. How It can be done. If possible give some pseudo code??
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2547
    
    2

You set that file in the response, so you already have reference to it, moreover its present on your hard drive or a location accessible to you.
I am not getting what you are trying to do here.


SCJP, SCWCD.
|Asking Good Questions|
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to read a file from response object
 
Similar Threads
file from response object
Reading the file
Uploading from a web page
Converting String to XML file?
How to save the servlet response to a file !