I have a JavaScript file that calls a method of the Grails controller by ajax , but I have to create the Login.gsp. I do not want to create this view.
Ext.Ajax.request({
url: 'user/login',
params: {
user: user,
password: pass
}
});
The method is called, but in Chrome console have the output:
POST localhost:8080/myapp/user/login 404 (Not Found)