Hi guys, Bypassing Tapestry sounds uncool... Why not create a page with as many onActivate methods as you need for your parameters and then use Jackson JSON or a similar Java-to-JSON parser and return it as StreamResponse of your onActivate?
There is a Jumpstart example for Webservices, but it can also be applied to any data format you can think of: http://jumpstart.doublenegative.com.au/jumpstart/examples/ws/webservices I'm interested how you'll solve it in the end, I might need something like that soon enough. 2012/3/16 Thiago H. de Paula Figueiredo <thiag...@gmail.com>: > On Fri, 16 Mar 2012 08:05:17 -0300, Lance Java <lance.j...@googlemail.com> > wrote: > >> Incorrect!!! >> >> You need to tell tapestry to ignore the URL so that it lets the servlet >> container handle the URL instead of tapestry. >> >> Have you configured some sort of spring servlet or spring filter in >> web.xml? If you want spring to handle URL's then you will need to do this. > > > Agreed. Try removing or commenting out the Tapestry filter in web.xml and > try your JSON-RPC again. If it gives a 404, then definitely your > Spring-JSON-RPC integration/configuration is not working and this is > absolutely unrelated to Tapestry (which I think it's the case). > > > -- > Thiago H. de Paula Figueiredo > Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and > instructor > Owner, Ars Machina Tecnologia da Informação Ltda. > http://www.arsmachina.com.br > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org