Where do I put a crossdomain XML in Tomcat?

2019-07-04 01:13发布

问题:

I have a cross-domain policy file I wish to add to a Tomcat server I have.
If the tomcat is localhost:8080 and installed in /usr/local/tomcat/
Where would be that root folder where I should put this policy file?

回答1:

Place your cross-domain policy into the ROOT webapp folder.

Check you can access it from

http://localhost:8080/crossdomain.xml