CORS Configuration for PoolParty

CORS (Cross-Origin Resource Sharing) is a way for the server to say 'I will accept your request, even though you came from a different origin.' This requires cooperation from the server.

CORS functionality is already enabled in PoolParty server configuration, which can be found in the web.xml file located at:

  • Linux: /opt/poolparty/tomcat/webapps/PoolParty/WEB-INF/web.xml

  • Windows: C:/Programs/ApacheSoftwareFoundation/Tomcat7.0/webapps/PoolParty/WEB-INF/web.xml

Following is the screenshot of default CORS headers setting in your PoolParty server:

CORS configuration


By default, this will enable all domains and methods so you should customize it to fit your requirements.