Here i\'m trying to pass the value of \"$scope.getCourse = \'adobe\'\" to the server so that it returns the corresponding course details, from where i can populate list using ng
Your data should be a key/val pair, try:
data
$http.post('javaServerlet', {course: $scope.getCourse})
And that variable will get to the server under the parameter course
course