An object? Like a hula hoop? Objects exist within memory, but their binary representation is going to differ from platform to platform. Things like XML and JSON allow you to serialize objects to a readable / transmittable format so that they can be deserialized by the receiver. What do you have on the receiving end? Are you planning to utilize the object with JavaScript, a Java Applet, a .Net somethingorother?
-Wes On Thu, Jun 11, 2009 at 9:44 AM, Rafael Taboada<kaliman.fore...@gmail.com> wrote: > Hi! > > What if I need to return another data apart from XML? I need to return an > object. How can I return this type? > > Thanks in advance. > > -- > Rafael Taboada > Software Engineer > > Cell : +511-992741026 > > "No creo en el destino pues no me gusta tener la idea de controlar mi vida" > -- Wes Wannemacher Author - Struts 2 In Practice Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more http://www.manning.com/wannemacher --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org