I am new to jquery and ajax. I want to call a particular method "logout" of action 'LoginAction' in Struts2. I am getting an error
There is no Action mapped for namespace / and action name logoutLoginAction.
My ajax code is:
function signout(){
$.ajax({
type: "POST",
assync:false,
url: "logoutLoginAction.action",
success: function(messageResponse) {
response=messageResponse;
alert(response);
}});
}