{"id":19784549,"url":"https://github.com/stallion-x/roomreservationsystem","last_synced_at":"2026-06-08T18:32:33.556Z","repository":{"id":109915921,"uuid":"499652738","full_name":"Stallion-X/RoomReservationSystem","owner":"Stallion-X","description":"Java Web JSP实验 机房预约系统 demo 机房预约界面 简单的机房预约系统，通过该系统实验室管理员可以完成机房的预约登记操作","archived":false,"fork":false,"pushed_at":"2023-02-04T12:35:00.000Z","size":1753,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T13:21:59.077Z","etag":null,"topics":["experimental","java","jsp","lab","noob","noob-dev"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Stallion-X.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-03T21:11:21.000Z","updated_at":"2023-11-27T16:00:39.000Z","dependencies_parsed_at":"2023-05-26T13:00:35.678Z","dependency_job_id":null,"html_url":"https://github.com/Stallion-X/RoomReservationSystem","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Stallion-X/RoomReservationSystem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stallion-X%2FRoomReservationSystem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stallion-X%2FRoomReservationSystem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stallion-X%2FRoomReservationSystem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stallion-X%2FRoomReservationSystem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Stallion-X","download_url":"https://codeload.github.com/Stallion-X/RoomReservationSystem/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stallion-X%2FRoomReservationSystem/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34075956,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["experimental","java","jsp","lab","noob","noob-dev"],"created_at":"2024-11-12T06:11:47.256Z","updated_at":"2026-06-08T18:32:33.540Z","avatar_url":"https://github.com/Stallion-X.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReservationTest\n编写一个首页，该页面能够自动跳转到WelcomeServlet\n\n编写一个简单的机房预约系统，通过该系统实验室管理员可以完成机房的预约登记操作；\n\n编写展示WelcomeServlet，该Servlet映射到首地址“/”，通过Java Bean获取所有机房的预约信息，并将数据转发到reservation .jsp页面；\n\n编写机房预约页面（reservation .jsp)，该页面能够显示所有的机房预约信息，预约界面应该以表格的形式展示每个机房哪些时间段可选，哪些时间段已被哪位教师占用；同时管理员可以在该页面上完成预约登记操作，登记信息包括：教师、机房、时间段。\n\n编写样式表reservation.css，利用DIV+CSS布局对机房预约页面（reservation .jsp)进行美化；\n\n编写JavaScript脚本reservation.js，该脚本主要功能为：\n\n（1）处理实验室管理员对时间段、机房的选择操作（可以通过在预约表格上单击单元格的方式来选择某机房的预约时间段，时间段选中与否应有状态区别）；\n\n（2） 校验预约信息的正确性（当管理员单击已被占用的机房时间段或输入错误的教师信息时报错）\n\n编写ReservationServlet，该Servlet能够接收页面传过来的预约数据，并能够调用Java Bean完成相关预约操作；\n\n编写一个预约处理类ReservationBean，该处理类能够通过JDBC实现预约信息的查询以及预约信息的处理。\n\n# RoomReservationSystem\n简易机房预约系统 拙作\n\n初次接触Servlet做的简单玩意\n\n使用Tomcat10.0.17部署 在JDK16环境下通过测试\n\n默认使用H2数据库，数据库位置为D:\\h2db。\n\n如需更改可至src/main/java/beans/ReservationBean.java第57-61行中修改数据库驱动（类型）及数据库位置。\n\n# 预览\n静态页面预览地址：https://stallion-x.github.io/RoomReservationSystem/\n\n![preview](./preview.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstallion-x%2Froomreservationsystem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstallion-x%2Froomreservationsystem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstallion-x%2Froomreservationsystem/lists"}