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

Reply via email to