You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Perry Q Hertler <pe...@yahoo.com> on 2003/06/23 20:16:33 UTC
Re: File Download (Again) - Never Mind :-)
I just discovered the ServiceLink.
--- Perry Q Hertler <pe...@yahoo.com> wrote:
> Thanks to Adam, I now have a service that retrieves
> a
> BLOB and writes the associated file out to the
> servlet's output stream.
>
> Now, my problem is getting my file rendered with
> tapestry. My file types are PDFs, docs, etc. All
> of
> the examples of seen with Assets involve rendering
> an
> image in-line with HTML. I need to display a
> document. Any suggestions?
>
> Is it possible for me to link directly to a service?
>
> I know that this would work because if I type
>
http://localhost:8080/myapp/app?service=fileService/3&sp=3,
> in my browser, the appropriate file is retrieved and
> displayed.
>
> Thanks,
> Perry
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tapestry-user-help@jakarta.apache.org
>
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com