Me again answering myself, I have just tried to call the following URL: http://localhost:8080/myapp/<tag></tag> I recieved an IllegalArgumentException. I have then tried to URL-encode the "<" and ">", same result. So you cannot use your approach with a GET-request. Although you might be happy with POST-requests. That too would spare you from the problems described in my previous mail. In this case you would't be using the activation context but forms.
Cheers nillehammer ----- original Nachricht -------- Betreff: Re: Re: XML requests Gesendet: Mo, 15. Nov 2010 Von: nille hammer<tapestry.nilleham...@winfonet.eu> > Hi niksami, > > > Basically I need to receive XML as a parameter, for > > example as a String in onActivate() method. > > I would not recommend to use this approach. And if you do it although, > beware of some special characters in the XML that might be interpreted by > Tapestry. E.g. an XML containing a "/"-sign will cause Tapestry to split the > activation context into two or more separate context parameters. An XML > containing a "."-sign might be interpreded as a component action request > asf. If your XML has an extremely basic and fixed structure, you might be > happy with activation context. If not, bypass those reqests and use another > framework to handle them. > > nillehammer > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > --- original Nachricht Ende ---- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org