Hi all,

I am using GeoExt to build my application.

I see this example: http://api.geoext.org/1.0/examples/print-form.html to
create print map function. Your map run at
http://api.geoext.org/1.0/examples/print-form.html, and printURL at
http://demo.opengeo.org/geoserver/pdf/create.json.

My appliction run at: http://localhost/aic40/frontend_dev.php and printURl
is http://localhost:8080/geoserver/pdf/create.json. When I click print, it
don't run and say: "XMLHttpRequest cannot load
http://localhost:8080/geoserver/pdf/create.json. Origin http://localhost is
not allowed by Access-Control-Allow-Origin."

How to config apache server or tomcat server for print?

Thank you very much.

-- 
Nguyễn Đình Toán
_______________________________________________
Dev mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/dev

Reply via email to