I am sending some data from AJAX to a servlet. This syntax works very well on my local.
xmlhttp.open("GET", "../MyTestServlet?section="+sId, true);
However, on our DEV UNIX server this does not work. I tried the following, but this does not work
xmlhttp.open("GET", "<%=request.getContextPath()%>/MyTestServlet?section=+sId", true);
The servlets are in the following package "com.myPackage.myApp.servlets
"
What would be the right syntax?