I could not able to make a request through ajax in my jsp. Please do help me.
The code goes like below....
this is the ajax code in jsp page.
And the controller class is
The function doAjaxPost(id) is called and i can see the alert message, We are in doAjaxPost with id "+id .
But after that its getting failed to post the request (There are no messages in the console from showcolumnlist method of controller class).
But getting an error alert " Error : [object Object] "
I could able to make the request without ajax successfully.