Hi
I am using the following code to call the jsp page:
$.ajax({
url :"test.jsp",
data : "{'name':'abc','age':'20'}",
contentType : "application/json",
type :"POST",
success :function(json) {
alert("Hi, there is no problem!");
},
error :function(xhr, status) {
alert("Sorry, there was a problem!");
},
complete :function(xhr,status) {
alert("The request is complete!");
}
})
I am getting the following error :
500 (Unable to compile class for JSP Generated servlet error: org.apache.jasper.runtime.HttpJspBase cannot be resolved to a type Generated servlet error: org.apache.jasper.runtime.JspSourceDependent cannot be resolved to a type Generated servlet error: The method getPageContext(Servlet, ServletRequest, ServletResponse, String, boolean, int, boolean) in the type JspFactory is not applicable for the arguments (test_jsp, HttpServletRequest, HttpServletResponse, null, boolean, int, boolean))
Please help. I am using NWDS (NetWeaverDevelopmentStudio) and running on localhost.
Thanks
Preety