I can't tell if you're being serious or not, but the question really has been answered already. The problem is that you're either A) missing the point or B) a troll. I prefer to assume A. In that case, I believe I can paraphrase what Craig has said:
> (1) Does STRUTS support sending serialized VO > objects (as against HTML or XML text strings) back > and forth between client > app and server. Craig: "Yes." > What needs to be changed in STRUTS > components to suport this? Craig: "Nothing." It doesn't matter if it's a VO object or not, we're assuming already that it's serialized and that we just need to get this serialized "thing" back to the client. Craig not only answered the question, but went a step further to provide a couple suggestions as to how one might accomplish the desired goal within a struts app. Best, Chris -----Original Message----- From: Xue-Feng Yang [mailto:just4look@;yahoo.com] Sent: Thursday, October 17, 2002 1:52 PM To: Struts Users Mailing List Subject: Re: Can V in MVC be Swing in Struts? --- Antoni Reus <[EMAIL PROTECTED]> wrote: > Hi, > > A Dijous 17 Octubre 2002 19:31, Xue-Feng Yang va > escriure: > > --- "Craig R. McClanahan" <[EMAIL PROTECTED]> > > wrote: > > > > > > On Thu, 17 Oct 2002, Xue-Feng Yang wrote: > > > > Date: Thu, 17 Oct 2002 13:19:48 -0400 (EDT) > > > > From: Xue-Feng Yang <[EMAIL PROTECTED]> > > > > Reply-To: Struts Users Mailing List > > > > > > <[EMAIL PROTECTED]> > > > > > > > To: Struts Users Mailing List > > > > > > <[EMAIL PROTECTED]> > > > > > > > Subject: RE: Can V in MVC be Swing in Struts? > > > > > > > > Let me copy your answer here with #, and tell > me > > > > > > where > > > > > > > is your "correct" answer. > > > > > > > > > And you didn't understand the answer > correctly > > > : > > > :-). > > > : > > > > # There are at least two different ways to > > > > > > accomplish > > > > > > > # this: > > > > > > > > #* Have your Action write the XML output > directly > > > > > > to > > > > > > > #the response, > > > > # and then return null (indicates that the > > > > > > response > > > > > > > #has been completed, > > > > # so no forwarding is necessary). > > > > > > To use output directly generated by an Action > > > (either serialized objects, > > > or directly created XML), use this. > > > > Hahaha, where is the VO in your message with #? > You > > only talked about XML not VO. > > > > > html, xml, serialized objects, pdf, svg, what's the > difference? > > For serialized objects: > > Set the content type to > "application/x-java-serialized-object" > Grab the ServletOuputStream in a ObjectOutputStream > and write(Object it) > return null > > > Salut, > > -- Antoni Reus You should answer this question. It is correct now. Just remind you that it is not my question. A person asked the following question: (1) Does STRUTS support sending serialized VO objects (as against HTML or XML text strings) back and forth between client app and server. What needs to be changed in STRUTS components to suport this? And I just point out someone's answer is not a correct answer. That's it. > > > -- > To unsubscribe, e-mail: > <mailto:struts-user-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: > <mailto:struts-user-help@;jakarta.apache.org> > ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>