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 -

javascript - How to bind ViewModel Store to View? -

javascript - Solution fails to pass one test with large inputs? -