RawScreen is a Turbine class that can be extended to implement file
downloads. You have to override the getContentType() and doOutput() methods
to make your new class do what you want.

In my response to your question last Friday, I included a link to the
Turbine mail archives
(http://www.mail-archive.com/turbine-user%40jakarta.apache.org/), and
suggested that you search it for the term "RawScreen". Here is one example
of what you will find:

http://www.mail-archive.com/[email protected]/msg07479.html

Reading these emails may help explain what RawScreen is, and how to extend
it. It is also very helpful to study the Turbine source code itself, because
not everything can be figured out by looking at the documentation.

Hope this helps.

Kevin


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 30, 2002 10:30 AM
To: Turbine Users List
Subject: RE: How to server files


Hi ,

Thanks for the tip. But Could you please elaborate how to use raw screen ? I

am really very new to turbine.

Regards,

A.P.Das.



> Use rawscreen.  I do that for PDF files.
> 
> -----Original Message-----
> From: apdas [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 30, 2002 11:03 AM
> To: Turbine User
> Subject: How to server files
> 
> 
> Hi friends,
> 
> I want to read files on my server byte by byte and send the data to the
> client to replace $screen_placeholder.
> 
> Please suggest some tips.
> Regards,
> 
> A.P.Das.
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:   <mailto:turbine-user-
[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:turbine-user-
[EMAIL PROTECTED]>




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

Reply via email to