Is the AJAX request coming from a different URL/domain/server?
–
michelgottaJun 4 '13 at 7:11

Hey Guys !!! Issue has resolved now. After looking into the request headers I have seen the "Origin: null". origin is null because i am trying to run my html directly from file system so it opens with ftp://. Solution is to put the html file into my web app and then open through url. it works now.
–
user2427345Jun 4 '13 at 7:24