问题
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
来源:https://stackoverflow.com/questions/9316668/where-do-i-put-a-crossdomain-xml-in-tomcat