http://ofbiz.116.s1.nabble.com/Dev-Producing-an-XML-response-tp168258p168262.html
> Date: Mon, 29 May 2006 12:31:27 -0600
> From: "David E. Jones" <
[hidden email]>
> Subject: Re: [OFBiz] Dev - Producing an XML response
> To: OFBiz Project Development Discussion <
[hidden email]>
> Message-ID: <
[hidden email]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>
> The mime type and character encoding are set in the view-map tag in
> the controller.xml file. See the Control Servlet Guide on ofbiz.org
> for documentation.
>
> -David
>
>
>
[hidden email] wrote:
>> Hi!
>>
>> That's my first time posting on this list. ;o)
>>
>> I'm trying to integrate OFBiz within another web application. What I
>> need to do
>> is extract the global menu (name and links) and output it in xml.
>> (The global
>> menu will be removed from the pages) This is working fine, the outupt is
>> correctly formatted. The only problem I get is that the response's
>> contentType
>> won't set to text/xml with this code, even if it's there (in the bsh
>> file). My
>> browser receives a text/html content type response.
>>
>> Have I missed something?
>>
>> I tried to browse and search the lists archives, but I did not find anything
>> aoubt this. If this subject has already been discussed, please tell
>> me where.
>> Thanks!
>>
>> Please see the content of the files attached.
>>
>> Thanks a lot!