Re: Wanting to return an .XML document for a direct action
Re: Wanting to return an .XML document for a direct action
- Subject: Re: Wanting to return an .XML document for a direct action
- From: LD <email@hidden>
- Date: Tue, 4 Oct 2005 11:26:09 +1000
Hi there,
On 03/10/2005, at 8:35 PM, Greg wrote:
You'll also want to override appendToResponse to set the content
type to text/xml
public void appendToResponse(WOResponse response, WOContext context) {
super.appendToResponse(response, context);
response.setHeader("text/xml"), "content-type");
}
What's the standard practice with creating valid XML strings. e.g., '
--> ' etc
with regards,
--
LD
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden