On Wed, 31 Oct 2007 09:22:47 -0200, llonely <[EMAIL PROTECTED]> wrote:
Hi all, I am currently testing tapestry and trying to convert a simple servlet. I have a typical servlet that gets parameters and returns xml
Generate the XML output using any method you fancy and then return a StreamResponse (in this case, a TextStreamResponse) in your onActivate method. Tapestry 5 will not issue a redirect as it does with normal pages. One example is in Howard's blog: http://tapestryjava.blogspot.com/2007/08/handling-direct-urls-in-tapestry-5.html. :)
In previous versions this kind of situation was hard to implement, but in Tapestry 5 it's a piece of cake. :)
-- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]