Where do I put a crossdomain XML in Tomcat?

北战南征 提交于 2019-12-10 19:46:23

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!