View Full Version : ExtJS 4.1 + Spring REST Simple Form Submission Example ?

3 Sep 2012, 4:48 AM

I am trying out some form submission to database code using ExtJS 4.1 and Spring REST at the backend.
While I was able to retrieve the data from database using REST and bind it to gridpanel, I am unable to submit new entries to database using a form.

I am submitting the form to a REST url, but it throws me exception shown below

message: /feedback/newFeedback.action
description The requested resource (/feedback/newFeedback.action) is not available.

So, could anyone please point me to one example of ExtJS form submission using Spring REST at the backend ?


4 Sep 2012, 1:50 AM
Try to pass the property method in the submit function

form.submit({ method: 'GET' });