p>
Is there any way to support IE9? Or is it impossible to run websockets with sockjs on IE9? I saw some discussions where people are solving some problems with IE9 and sockjs, but none of them solve my problem.
BR
Before:
var webSocket = new SockJS('topic/publish');
After:
< pre>var webSocket = new SockJS(‘http://localhost:8080/topic/publish’);
Although it works with Chrome and Firefox, there are some problems when running it on IE9, It does not support websockets (out of the box).
I am trying to set up an application using SockJS via STOMP. However, no connection seems to be established. In Chrome, FF I don’t have these problems when I wait until I run all the problems.
Is there any way to support IE9? Or is it impossible to run websockets with sockjs on IE9? I saw some discussions in which people were solving some problems with IE9 and sockjs, but none of them solved my problem.
BR
The problem is solved. SockJS simulates websockets on IE9 without any problem. The only thing I have to do is to provide the absolute path to create the SockJS object.
Before:
var webSocket = new SockJS('topic/publish');
After:
var webSocket = new SockJS('http:/ /localhost:8080/topic/publish');
Although it works with Chrome and Firefox, there are some problems when running it on IE9, it does not support websockets (out of the box). /p>