Hello Ted,
> You might want to look at the digester for this. It is very good at > converting JavaBeans to XML and back. See the RSS package for an example. > > http://jakarta.apache.org/commons/digester/api/org/apache/commons/digester/r ss/package-frame.html > I'm aware of Digester but I haven't used it to lean in details its functionality. I think it is time to do so. > You can then do your response up as a JavaBean, have the Digester > convert that to XML, return XML as the response just as you would from a > servlet (and return null to the Struts controller). You mean that in my Action class I will write " return (new ActionForward("null"))" and I will use the PrintWriter to send the response? Shouldn't I do the following --> "return (new ActionForward("my.xml"))" where .xml is the file constructed in the Action class. > > From what you said, there's little reason to get a page involved, since > the output is going to another application. Exactly! > > -Ted. > Thank you! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]