I just created my own servlet that just accessed the various hivemind
services directly. Much less to figure out. Took all of 10 minutes.
(well a little more but easier than trying to figure out how to
intercept tapestry.

On 10/17/06, KEGan <[EMAIL PROTECTED]> wrote:
Hi,

I am using Tapestry 4.0.2. Most of the time, I am using Tapestry to generate
dynamic HTML pages, so I have all the .html .page .java files for each page.

However, sometimes I want to just output some arbitrary text. Such as XML,
JSON data, or plain text. For XML data, I can probably treat it just like
another HTML page :) But for JSON (or other data), what is the elegant way
to intercept Tapestry so I could write out my own output ? As if we using
Servlet, getting a OutputStream object and write our own output.

I read that this could be done in Tapestry 4.1. But since this version is
not in production release, I would like avoid it. Or should I not?

Thanks.

~KEGan



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

Reply via email to