No idea about XML transformation, but if you want to send any XML file to the browser then you can use response.setContentType("application/xml")
Hope it helps.
posted 15 years ago
the xml transformation is not so important. i get a file in my struts action. i can output this file (xml-file) as a string, so that the user can copy the content of the xml-file and paste this content to an xml-file at his own operation system. this solution is not best practises :-(
what i must write in the struts action that the user can download this file? for example he click in the browser at a link and can saved the file. i tried this but it doesnt work:
Doe, a deer, a female deer. Ray, a pockeful of sun. Me, a name, I call my tiny ad ...
Devious Experiments for a Truly Passive Greenhouse!