Hy, i know cross domain restrictions who limits to load from another domain ou port, but i'm using Jboss and her default port 8080.
But when i bind Jboss on port 80, my application return an alert :
SmartClient can't directly contact URL 'http://localhost/MyProject/MyServlet' due to browser same-origin policy. Remove the host and port number (even if localhost) to avoid this problem, or use XJSONDataSource for JSONP protocol (which allows cross-site calls), or use the server-side HttpProxy included with SmartClient Server.
This alert isn't an errror, her is display, but the program and http call work !...
Where is the check of the using port ?
But when i bind Jboss on port 80, my application return an alert :
SmartClient can't directly contact URL 'http://localhost/MyProject/MyServlet' due to browser same-origin policy. Remove the host and port number (even if localhost) to avoid this problem, or use XJSONDataSource for JSONP protocol (which allows cross-site calls), or use the server-side HttpProxy included with SmartClient Server.
This alert isn't an errror, her is display, but the program and http call work !...
Where is the check of the using port ?
Comment