java - XMLHTTP request error. Eclipse project with tomee7 server. -


i have tomcat tomee7 server set in eclipse. server running serverside-code , works. but, when run client side code , try request following error "xmlhttprequest cannot load file://***** cross origin requests supported protocol schemes: http, data, chrome, chrome-extension, https."

what do?

the error suggests javascript code assuming base url of 'file://' running client side code opening html file in browser?


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -