我想要实现的只是实现一个为我的全日历应用程序提供 json 提要的 servlet。当我使用 Bugzilla 检查http://arshaw.com/js/fullcalendar/examples/json.html时,我看到发送 GET 请求以接收 json 提要。
但是,当我在我的场景中使用此示例时,fullcalendar 似乎会发送 OPTIONS 请求。唯一的区别是我用“ http://localhost:8080/CalendarServletTest/HelloWorldServlet ”(我的servlet的url)替换了“events:”json-events.php”。我错过了什么?或者这真的是一个错误?