Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Francisco Acuña on Aug 21, 2009 10:36
open dhtmlx forum
dhtmlxScheduler + firefox

Hi,

I'm using dhtmlxScheduler v2 + Java, from IE (v6.0.2900.5512) it works fine, but from firefox (v3.5.2) it display an alert with the data returned from the servlet.

Thank you.

Answer posted by Support on Aug 24, 2009 01:33
Such problem can occurs because of incorrect xml output. 
Are you using connector for java, or custom server side code?
In second case, please be sure that there is no any extra output before <?xml declaration ( any whitespace or newline , which was outputted before it, will break xml parsing in FF ) 
Answer posted by Francisco Acuna on Aug 24, 2009 06:34
Hi,

you are right, it was an incorrect content type:

before:   response.setContentType("text/html;charset=UTF-8");
now:      response.setContentType("text/xml;charset=UTF-8");

Thank you again.