Use WebdavResource.getMethodData() to get an InputStream for the file.
Use response.getOutputStream() to get an OutputStream to which you can
write the InputStream. Be sure to set appropriate headers on the
response to indicate file type/length/etc.

-James

>>> [EMAIL PROTECTED] 7/14/2004 9:50:13 AM >>>
I use the inputstream from request to upload a file from client to
slide 
server through web page. but how could i send back the file back to
client 
when i get file from slide server without writing temp file in web
server? 
how could i set response in servlet?
thanks a lot.
haipeng

_________________________________________________________________
Get tips for maintaining your PC, notebook accessories and reviews in 
Technology 101. http://special.msn.com/tech/technology101.armx 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to