You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by lu...@centerparcs.com on 2004/06/21 18:43:49 UTC

Include mechanism for JSP pages (or other non local resources)




The book shows a way of integrating JSP output using RedirectExceptions
which will forward to a URL resource using the servlet api. I was wondering
if there is an analogue that can be used to _include_ output from a non
local URL resource in a Tapestry page.

Now there are two usecases I would like to support. One is the case where I
am not interested in the contents of the included item, so it is sort of an
asset but neither a context nor a private one:

As an example, suppose I want to have an image on my page from an external
website with local weather information:
<IMG SRC="http://weerkamer.nl/weer/weeranimatie/weeranimatie.fpl">.

The other case is where I _am_ interested in the bytes I get back, it may
be a bit of HTML my component wants to mangle before sending it out.

For both usecases I did not find a simple way to do this. Am I missing
something ?

Cheers, Luc.


Disclaimer

The information contained in this message and any attachments:

does not constitute an offer or an acceptance of an offer or a
representation or warranty, nor shall it form any part of a legally binding
contract;
has been compiled with care but no representation or warranty (express or
implied) is made as to its accuracy or completeness and no liability can be
accepted for any loss arising from the use of any of the information;
may include opinions or views, which unless expressly stated otherwise, are
not those of the company or any person in relation to whom the company
would have vicarious liability or responsibility;
is not guaranteed to be free from any so-called computer viruses and it is
strongly recommended that you check for such viruses before downloading it
to your computer equipment;
may include hypertext links to the sites of other companies or persons, the
content of which this company has no control over and accepts no liability
for;
is for the exclusive use of the addressee and may contain confidential,
privileged, work product immunity and/or non-disclosable information.  If
you are not the intended recipient and receive this message and any
attachments, you must not read, copy, transmit, disclose or otherwise use
any of them (or part of them) in any way (to do so may be unlawful) and we
would be grateful if you could inform us immediately of any such receipt
and subsequently entirely and permanently erase the message and any
attachments from your equipment.

E-mail is an informal method of communication and is subject to possible
data corruption.  For these reasons it will normally be inappropriate to
rely upon information contained in an e-mail without obtaining tangible
written confirmation of it.


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org