I am currently facing an issue with my ExtJS app where I am trying to send a request to a geoserver server. Although the URL displays correctly when accessed via the browser, I encounter an error when making the request within my app. The error message in the browser states: "XMLHttpRequest cannot load http://.../geoserver/.../wms?VERSION=1.1.0&SERVICE…3C/coordinates%3E%3C/Envelope%3E%3C/BBOX%3E%3C/Filter%3E&_dc=1435334851353. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed access." I believe this is related to a CQL filter being used for the BBOX operation in the request. Can someone provide guidance on how to resolve this issue?
Below is the code snippet causing the issue:
dragBox.on('boxend', function(e) {
if (capaActiva != null) {
// Code logic here
}