you can send it directly to the template without any problem. just put
something like this: ctx.put("myObject", myObject);
then, if you want to get for example the value returned by the method
getText(), use $myObject.text

Bye.

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: < - *[EMAIL PROTECTED] :>
Sent: Wednesday, January 15, 2003 10:12 AM
Subject: Send objects by Velocity.


Hi.
 I need send an object ( myObject) with Velocity to html form and get
this object with other servlet  that creates a new html form and returns a
value. How can I do it?? . The object dosen't is Array, String, hash,
Vector....., etc .

Sorry by my English



sergio


Hola
 necesito enviar un objeto de un tipo creado por mi  con velocity a un
html y tomarlo con otro servelet que utilizara ese objeto para generar un
nuevo
html  es posible hacerlo. Teniendo en cuenta que este objeto no es de tipo
string, hash array etc.



sergio




--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to