You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Poggenpohl, Daniel" <Da...@isst.fraunhofer.de> on 2015/03/23 18:34:15 UTC

How to generate URL's from the context

Hello,

the day has been long, I am kinda stumped now.

I have some documents lying in the webapp/resources folder. I want to embed a pdf in a page, so I need a value for the src attribute for the tag.

Can somebody help me?

Regards,
Daniel P.

--
Dipl. Inf. Daniel Poggenpohl, Fraunhofer-Institut für Software- und Systemtechnik ISST
Compliance- und Sicherheitslösungen
Emil-Figge-Straße 91, 44227 Dortmund, Germany
Telefon: +49 (0) 231 / 9 76 77-323
mailto: Daniel.Poggenpohl@isst.fraunhofer.de<ma...@isst.fraunhofer.de>
http://www.isst.fraunhofer.de<http://www.isst.fraunhofer.de/>


Re: How to generate URL's from the context

Posted by Eugen <eu...@gmail.com>.
Hi Daniel,
take also a look also to usage of StreamResponse
http://wiki.apache.org/tapestry/Tapestry5HowToStreamAnExistingBinaryFile

2015-03-23 20:06 GMT+01:00 Chris Poulsen <ma...@nesluop.dk>:

> http://tapestry.apache.org/assets.html
>
> I think the context variant is what you are looking for.
>
> On Mon, Mar 23, 2015 at 6:34 PM, Poggenpohl, Daniel <
> Daniel.Poggenpohl@isst.fraunhofer.de> wrote:
>
> > Hello,
> >
> > the day has been long, I am kinda stumped now.
> >
> > I have some documents lying in the webapp/resources folder. I want to
> > embed a pdf in a page, so I need a value for the src attribute for the
> tag.
> >
> > Can somebody help me?
> >
> > Regards,
> > Daniel P.
> >
> > --
> > Dipl. Inf. Daniel Poggenpohl, Fraunhofer-Institut für Software- und
> > Systemtechnik ISST
> > Compliance- und Sicherheitslösungen
> > Emil-Figge-Straße 91, 44227 Dortmund, Germany
> > Telefon: +49 (0) 231 / 9 76 77-323
> > mailto: Daniel.Poggenpohl@isst.fraunhofer.de<mailto:
> > Daniel.Poggenpohl@isst.fraunhofer.de>
> > http://www.isst.fraunhofer.de<http://www.isst.fraunhofer.de/>
> >
> >
>

Re: How to generate URL's from the context

Posted by Chris Poulsen <ma...@nesluop.dk>.
http://tapestry.apache.org/assets.html

I think the context variant is what you are looking for.

On Mon, Mar 23, 2015 at 6:34 PM, Poggenpohl, Daniel <
Daniel.Poggenpohl@isst.fraunhofer.de> wrote:

> Hello,
>
> the day has been long, I am kinda stumped now.
>
> I have some documents lying in the webapp/resources folder. I want to
> embed a pdf in a page, so I need a value for the src attribute for the tag.
>
> Can somebody help me?
>
> Regards,
> Daniel P.
>
> --
> Dipl. Inf. Daniel Poggenpohl, Fraunhofer-Institut für Software- und
> Systemtechnik ISST
> Compliance- und Sicherheitslösungen
> Emil-Figge-Straße 91, 44227 Dortmund, Germany
> Telefon: +49 (0) 231 / 9 76 77-323
> mailto: Daniel.Poggenpohl@isst.fraunhofer.de<mailto:
> Daniel.Poggenpohl@isst.fraunhofer.de>
> http://www.isst.fraunhofer.de<http://www.isst.fraunhofer.de/>
>
>