java springboot + websocket 聊天小程序!有登录界面,聊天界面!

上传者: 43758153 | 上传时间: 2023-02-09 11:25:54 | 文件大小: 1.92MB | 文件类型: RAR
标题:java,webSocket项目! 需要知识基础: java springboot,websocket相关基础知识,html+css+js! 内容概要: 里面包括登录界面,聊天界面!包括好友上线,离线提醒! 项目进展: 完善程度百分之八十,里面并没有包含群聊,多聊!只是一对一聊! 现在存在的缺陷: 界面不够美观!目前仅仅是初步完成品!没有做到尽善尽美,里面并没有牵扯到数据库,没有写注册功能,账号和密码都是写死的! 希望各位朋友能在下载之后,按照自己的想法,做到尽善尽美,然后再发我一份,嘿嘿! 前路漫漫其修远兮,加油! 下载之后需要修改的地方: (1)char.html中第121行左右:var ws = new WebSocket("ws://localhost:8021/chat");这里的端口号8021改成自己springboot项目的端口号即可! (2)改成自己本地的maven仓库地址 (3)因为没有连接数据库,所以不用担心数据库问题!其他没什么要改的了! (4)所有要说的话已经写在项目的:LoginController里面了!嘿嘿....

文件下载

资源详情

[{"title":"( 145 个子文件 1.92MB ) java springboot + websocket 聊天小程序!有登录界面,聊天界面!","children":[{"title":"pom.xml <span style='color:#111;'> 3.43KB </span>","children":null,"spread":false},{"title":"Ex1ApplicationTests.class <span style='color:#111;'> 526B </span>","children":null,"spread":false},{"title":"application.yml <span style='color:#111;'> 344B </span>","children":null,"spread":false},{"title":"ChatEndpoint.class <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false},{"title":"GetHttpSessionConfigurator.class <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"WebSocketConfig.class <span style='color:#111;'> 746B </span>","children":null,"spread":false},{"title":"ResultMessage.class <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"Result.class <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"Message.class <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false},{"title":"LoginController.class <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false},{"title":"MessageUtils.class <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"Ex1Application.class <span style='color:#111;'> 728B </span>","children":null,"spread":false},{"title":"layui.css <span style='color:#111;'> 77.89KB </span>","children":null,"spread":false},{"title":"style.css <span style='color:#111;'> 5.80KB </span>","children":null,"spread":false},{"title":"login.css <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"main.html <span style='color:#111;'> 4.74KB </span>","children":null,"spread":false},{"title":"bj.jpeg <span style='color:#111;'> 449.79KB </span>","children":null,"spread":false},{"title":"更多.png <span style='color:#111;'> 208B </span>","children":null,"spread":false},{"title":"语音.png <span style='color:#111;'> 580B </span>","children":null,"spread":false},{"title":"搜素.png <span style='color:#111;'> 282B </span>","children":null,"spread":false},{"title":"消息.png <span style='color:#111;'> 724B </span>","children":null,"spread":false},{"title":"退出.png <span style='color:#111;'> 708B </span>","children":null,"spread":false},{"title":"bg.jpeg <span style='color:#111;'> 426.38KB </span>","children":null,"spread":false},{"title":"笑脸.png <span style='color:#111;'> 807B </span>","children":null,"spread":false},{"title":"头像 女孩.png <span style='color:#111;'> 676B </span>","children":null,"spread":false},{"title":"表情.png <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"chat.html <span style='color:#111;'> 7.35KB </span>","children":null,"spread":false},{"title":"login.html <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false},{"title":"jquery.min.js <span style='color:#111;'> 90.92KB </span>","children":null,"spread":false},{"title":"login.js <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"ex1.iml <span style='color:#111;'> 9.25KB </span>","children":null,"spread":false},{"title":"mvnw <span style='color:#111;'> 9.83KB </span>","children":null,"spread":false},{"title":"Ex1ApplicationTests.java <span style='color:#111;'> 213B </span>","children":null,"spread":false},{"title":"application.yml <span style='color:#111;'> 344B </span>","children":null,"spread":false},{"title":"layui.css <span style='color:#111;'> 77.89KB </span>","children":null,"spread":false},{"title":"style.css <span style='color:#111;'> 5.80KB </span>","children":null,"spread":false},{"title":"login.css <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"main.html <span style='color:#111;'> 4.74KB </span>","children":null,"spread":false},{"title":"bj.jpeg <span style='color:#111;'> 449.79KB </span>","children":null,"spread":false},{"title":"更多.png <span style='color:#111;'> 208B </span>","children":null,"spread":false},{"title":"语音.png <span style='color:#111;'> 580B </span>","children":null,"spread":false},{"title":"搜素.png <span style='color:#111;'> 282B </span>","children":null,"spread":false},{"title":"消息.png <span style='color:#111;'> 724B </span>","children":null,"spread":false},{"title":"退出.png <span style='color:#111;'> 708B </span>","children":null,"spread":false},{"title":"bg.jpeg <span style='color:#111;'> 426.38KB </span>","children":null,"spread":false},{"title":"笑脸.png <span style='color:#111;'> 807B </span>","children":null,"spread":false},{"title":"头像 女孩.png <span style='color:#111;'> 676B </span>","children":null,"spread":false},{"title":"表情.png <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"chat.html <span style='color:#111;'> 7.35KB </span>","children":null,"spread":false},{"title":"login.html <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false},{"title":"jquery.min.js <span style='color:#111;'> 90.92KB </span>","children":null,"spread":false},{"title":"login.js <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"ChatEndpoint.java <span style='color:#111;'> 3.35KB </span>","children":null,"spread":false},{"title":"GetHttpSessionConfigurator.java <span style='color:#111;'> 646B </span>","children":null,"spread":false},{"title":"WebSocketConfig.java <span style='color:#111;'> 530B </span>","children":null,"spread":false},{"title":"ResultMessage.java <span style='color:#111;'> 477B </span>","children":null,"spread":false},{"title":"Result.java <span style='color:#111;'> 362B </span>","children":null,"spread":false},{"title":"Message.java <span style='color:#111;'> 296B </span>","children":null,"spread":false},{"title":"LoginController.java <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"MessageUtils.java <span style='color:#111;'> 889B </span>","children":null,"spread":false},{"title":"Ex1Application.java <span style='color:#111;'> 314B </span>","children":null,"spread":false},{"title":"misc.xml <span style='color:#111;'> 451B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 253B </span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'> 300B </span>","children":null,"spread":false},{"title":"compiler.xml <span style='color:#111;'> 864B </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 44.88KB </span>","children":null,"spread":false},{"title":"Maven__org_springframework_boot_spring_boot_starter_json_2_4_2.xml <span style='color:#111;'> 668B </span>","children":null,"spread":false},{"title":"Maven__org_junit_jupiter_junit_jupiter_5_7_0.xml <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"Maven__ch_qos_logback_logback_classic_1_2_3.xml <span style='color:#111;'> 565B </span>","children":null,"spread":false},{"title":"Maven__com_fasterxml_jackson_core_jackson_core_2_11_4.xml <span style='color:#111;'> 599B </span>","children":null,"spread":false},{"title":"Maven__org_ow2_asm_asm_5_0_4.xml <span style='color:#111;'> 469B </span>","children":null,"spread":false},{"title":"Maven__org_assertj_assertj_core_3_18_1.xml <span style='color:#111;'> 539B </span>","children":null,"spread":false},{"title":"Maven__org_junit_platform_junit_platform_engine_1_7_0.xml <span style='color:#111;'> 623B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_expression_5_3_3.xml <span style='color:#111;'> 599B </span>","children":null,"spread":false},{"title":"Maven__org_objenesis_objenesis_3_1.xml <span style='color:#111;'> 505B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_aop_5_3_3.xml <span style='color:#111;'> 550B </span>","children":null,"spread":false},{"title":"Maven__org_junit_platform_junit_platform_commons_1_7_0.xml <span style='color:#111;'> 630B </span>","children":null,"spread":false},{"title":"Maven__org_webjars_jquery_3_1_1_1.xml <span style='color:#111;'> 504B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_messaging_5_3_3.xml <span style='color:#111;'> 592B </span>","children":null,"spread":false},{"title":"Maven__org_webjars_stomp_websocket_2_3_3.xml <span style='color:#111;'> 553B </span>","children":null,"spread":false},{"title":"Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml <span style='color:#111;'> 630B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_test_5_3_3.xml <span style='color:#111;'> 557B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_beans_5_3_3.xml <span style='color:#111;'> 564B </span>","children":null,"spread":false},{"title":"Maven__org_junit_jupiter_junit_jupiter_params_5_7_0.xml <span style='color:#111;'> 612B </span>","children":null,"spread":false},{"title":"Maven__net_bytebuddy_byte_buddy_1_10_19.xml <span style='color:#111;'> 540B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_websocket_5_3_3.xml <span style='color:#111;'> 592B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_webmvc_5_3_3.xml <span style='color:#111;'> 571B </span>","children":null,"spread":false},{"title":"Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_11_4.xml <span style='color:#111;'> 692B </span>","children":null,"spread":false},{"title":"Maven__org_slf4j_jul_to_slf4j_1_7_30.xml <span style='color:#111;'> 531B </span>","children":null,"spread":false},{"title":"Maven__ch_qos_logback_logback_core_1_2_3.xml <span style='color:#111;'> 544B </span>","children":null,"spread":false},{"title":"Maven__org_hamcrest_hamcrest_2_2.xml <span style='color:#111;'> 494B </span>","children":null,"spread":false},{"title":"Maven__org_slf4j_slf4j_api_1_7_30.xml <span style='color:#111;'> 510B </span>","children":null,"spread":false},{"title":"Maven__com_fasterxml_jackson_core_jackson_annotations_2_11_4.xml <span style='color:#111;'> 648B </span>","children":null,"spread":false},{"title":"Maven__net_bytebuddy_byte_buddy_agent_1_10_19.xml <span style='color:#111;'> 582B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_context_5_3_3.xml <span style='color:#111;'> 578B </span>","children":null,"spread":false},{"title":"Maven__io_github_classgraph_classgraph_4_8_69.xml <span style='color:#111;'> 561B </span>","children":null,"spread":false},{"title":"Maven__org_mockito_mockito_junit_jupiter_3_6_28.xml <span style='color:#111;'> 602B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_boot_spring_boot_devtools_2_4_2.xml <span style='color:#111;'> 640B </span>","children":null,"spread":false},{"title":"Maven__org_webjars_sockjs_client_1_0_2.xml <span style='color:#111;'> 539B </span>","children":null,"spread":false},{"title":"Maven__org_yaml_snakeyaml_1_27.xml <span style='color:#111;'> 492B </span>","children":null,"spread":false},{"title":"......","children":null,"spread":false},{"title":"<span style='color:steelblue;'>文件过多,未全部展示</span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明