None of the data is private so I want to enable CORS.I'm running a tomcat server in eclipse, with a few get requests coded in java.Updating the web.xml with a CORS filter.
我在ubuntu中运行tomcat6和eclipse3时遇到了问题。
我在我的机器上安装了Tomcat6,当我使用http://localhost:8080测试它时,它工作得很好。但是每当我想要在eclipse中创建一个服务器时,我选择Tomcat6,我得到以下消息"Cannot create a server using the selected type",并且我不能单击next
当我尝试使用Postman发帖时,它工作得很好。现在,当我尝试使用在另一台机器上运行的Angular2应用程序进行发布时,我得到了一个错误消息"Response with status: 0 for URL: null“。OptionLayout" : "Vertical", });
var url = 'http://my.service.net