To solve the problem of cross domain of A request, now I set on B Tomcat cors filter, also tried to add the response to the code. The setHeader (" Access - Control - Allow - Origin ", "*"); But not all, isn't it must be the front line coordinated related set of chrome? But I don't see the returned response header in the Access Control Allow Origin, so are not sure whether I have a problem backend server Settings
CodePudding user response:
@ CrossOrigin this try, add in the controller class