View Full Version : Response Text is a jsp but not json

12 Jan 2010, 8:39 AM
I've a form that returns a jsp instead of json. Based on the success or failure it returns the success.jsp or failure.jsp respectively.

this.dummyForm = new Ext.form.BasicForm(null,
{ url:'details.do?action=save',
el: 'defaults_xact',
method: 'post'

save: function() {
params : { date : this.date.getRawValue(),
id : this.id.getValue()
scope : this
How do I handle the response to display the jsp that is returned.

12 Jan 2010, 10:29 AM
Do you want standardSubmit?

12 Jan 2010, 10:52 AM
What stops me from doing a standardSubmit() is I've other buttons on the form that need Ajax submit.