John,
I would use neither. The best ways would be to use a "plain" layout template to render plaintext, or implement a new Screen as a RawScreen and output the data as an OutputStream. The second option allows you to send binary data as well and directly from Java, without the use of Velocity Templates. It allows you to have more control over the actual data sent. When dealing with handhelds and cell phones, issues like the end-of-line characters used (\n versus \r\n) are very important and hard to maintain using templates. I would recommend treating plain-text data as a binary stream.
Best regards, Paulo Schlup Santos www.Wiaxis.com
Schleicher Johannes wrote:
Hello
I am developing a mobile solution where pda's connect to a server an submit data via a Servlet Call. I want to switch to turbine but see no way to model this functionality straight with turbine. As far as i know there are two possibilites.
1. Extend web.xml and add a Servletdescriptor, imho not very elegant and a work around the (turbine) mechanism.
2. Generate a page with a single action and call it, which would imply a change within the client code.
I hope anybody can help.
Best regards
John
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
