It's a simple J2EE web application to learn and understand Same Origin Policy. It has practice labs for
- Cross origin simple request.
- Cross origin preflighted request.
- Cross origin request for flash applications.
- Cross window communication between same origins.
- Cross window communication between different origins.
- Cross window communication using using Postmessage.
- Cross Origin request for null origin.
Each exercise is accompanied with instructions for understanding.
- The project can be imported in Eclipse using the Eclipse Github plugin or manually.
- Configure Tomcat in Eclipse.
- Configure the build path.
- Run the application on server.
- Access the application at http://localhost:8080
Application is meant to run on port 8080.
Reference: https://www.netsparker.com/whitepaper-same-origin-policy/