Jon Garrido Martin GIS Developer

GIS Developer Freelance

Enable jsonp request in geoserver

By jongarrido | September 23, 2015 | 0 Comment


In order to access wfs services through jsonp call you’ll need to enable this elemnt in your java server. In my case tomcat 7 in a ubuntu 14.04 server.


Access to your server and edit web.xml file of your geoserver webapp..


#vi /var/lib/tomcat7/webapps/geoserver/WEB-INF/web.xml

Add the next filter in the context parameters part of the document…


(press insert key in vi editor)




Save the documement (press “:” and type “wq”).


And restart tomcat.


/etc/init.d/tomcat7 restart


That’s all







Leave a Reply

Your email address will not be published. Required fields are marked *