PDA

View Full Version : Failed to load resource: the server responded with a status of 405



Mithu
2 Aug 2012, 10:42 PM
Hi,

I have wrote the following code to submit data through an xml reader.

reader = new Ext.create('Ext.data.reader.Xml', {
model: 'custModel',
record : 'customer',
successProperty: '@success'
});

onButtonClick1: function(button, e, options) {
this.getCustomerForm().load({
url: 'data/custxml.xml',
waitMsg: 'Loading...'
});
},

the following error got while executing
Failed to load resource: the server responded with a status of 405 (Method Not Allowed)

Please help me.

Thanks in Advance
mithu

scottmartin
8 Aug 2012, 9:57 AM
submit data through an xml reader

What is your goal? To load data from XML into form, or to submit the form?

Scott.