as I know, the webdave is an extension of http, right? so I wonder why cannot I just use webdav client api instead http to download and upload file from slide?



From: "James Mason" <[EMAIL PROTECTED]>
Reply-To: "Slide Users Mailing List" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Re: how to use response to send outputstream back to client
Date: Wed, 14 Jul 2004 10:14:00 -0700

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]


_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus



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



Reply via email to