Servlet receives OPTIONS instead of GET requests from jQuery?

Posted by Urs on Stack Overflow See other posts from Stack Overflow or by Urs
Published on 2010-05-07T17:11:52Z Indexed on 2010/05/08 18:28 UTC
Read the original article Hit count: 312

Filed under:
|
|
|

All I want to achieve is to implement a servlet providing a json feed for my fullcalendar application. When I inspect http://arshaw.com/js/fullcalendar/examples/json.html with Bugzilla, I see that GET-requests are sent to receive the json feed.

However, when I use this example within my scenario, fullcalendar seems to send OPTIONS-requests. The only difference is that I replaced "events: "json-events.php" with "http://localhost:8080/CalendarServletTest/HelloWorldServlet" (the url of my servlet). What do I miss? Or is this really a bug?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about fullcalendar