在本视频中,我们介绍了如何使用WebSockets,Java和Spring Boot创建简单的聊天应用程序。该应用程序的前端是使用SockJS和Stomp的香草javascript创建的,可以在下面下载。
⌨️下载本教程所需的静态文件:https://codeyogi.co.uk/2020/01/11/java-websockets-chat-app/
这是创建您的Spring Boot模板应用程序的网站:https://start.spring.io
?加入电子邮件列表以了解最新视频:https://codeyogi.co.uk/email
https://CodeYogi.co.uk。
Please Can you do with it Spring mvc with web.xml and spring-servlet.xml
well, im shocked this video has only about 900 views, man.
Im sharing the hello outta this vid man
great tut and very informative
Hi Shane!
i got the same problem that when I start my application it doesnt open up the HTML page in my browser. I get a whitelabel error when i type it in manually, cause there is no mapping for localhost:8090, i didnt missed the part where you set the port on 8090 so that is not the problem.
Thx in advance
Excellent explanation step by step
Hi I think something is missing in the tutorial, When you typed localhost:8090 you get your webpage directly, but it is not working for me. I have the html css js files but I think I need to put them somewhere? This is part is not explained, thanks
Asked for static resources – nothing. Asked a question – no response. Man, why do you do "fill form and I will send you download link", when you don't send anything?
Hi Shane nice tutorail.
But I have the following problem:
If I type in the username I get to the Chat-window but i get this error too:
Could not find the connection you were looking for. Move along. Or, Refresh the page!
Do have an idea how to fix this because I found the error-message in the js-file but I still dont know how to create the necessary Connection.
Great tutorial! I'm pretty new to Java, SpringBoot and coding in general. So I really appreciate you breaking things down and explaining what the different parts of code does.
Hi Shane. Link to the static file isnt working
Asked for it and you did it! Thanks!