Jetty Cross Origin Filter

前端 未结 5 1861
故里飘歌
故里飘歌 2020-12-04 15:36

I\'ve configured Jetty\'s cross origin filter, but I continue to get the following error. Does anyone know what is wrong and how to fix it? Below the error message is my ove

5条回答
  •  感情败类
    2020-12-04 16:25

    Aloha,

    I fought this for awhile as well, and found that the final node needs to be:

    
        cross-origin
        /*
    
    

    NOT

    
         cross-origin
         /*
    
    

    Here is the link I found to help me: wiki.eclipse.org/Jetty/Feature/Cross_Origin_Filter

    After I updated my web.xml file and restarted the jetty server, I was able to make cross domain request using jQuery ajax calls.

    Rob

提交回复
热议问题