基于机房设备管理系统的部分代码,实现了机房人数的介绍状态。
基于javaweb+jsp的机房设备管理系统
Java web JavaBean JSP MVC MySQL Tomcat JavaScript idea eclipse MyEclipse Servlet SSM Maven…
部分代码实现了JSP
机房号:住宿号:简介:状态:Disabled="disabled" title= "无权限!!!"o nclick = " window . location . href = " add.jsp _季芳"">添加搜索房间号中容纳人数的介绍状态。操作DOCTYPE html >修改机房修改机房if (document.getelementbyid("季芳邵杰"))。value.trim()。length == 0) {alert("简介不能为空!");返回false}返回true}DOCTYPE html >机房详情机房号:${vo.jifangName}容量:$ {vo.jifangcount}功能搜索列表(){ window . location . href = " jifangservlet?action = list & search column = "+document . getelementbyid(" search column ")。value+" & keyword = "+document . getelementbyid(" search _ keyword ")。价值;}暂停使用备注:取消//提交前检查。如果返回false,则不允许提交函数Check(){取消提交//提交前检查。如果返回false,则不允许提交函数check() {//来获取值if(document . getelementbyid(" jifangname ")。value.trim()。length = = 0) {alert("房号不能为空!");返回false} if(document . getelementbyid(" jifangcount ")。value.trim()。length = = 0) {alert("容纳人数不能为空!");返回false$ { VO . jifang name } $ { VO . jifangcount } $ { VO . jifangjieshao } $ { VO . jifangstatus } Details disabled = " disabled " title = "没有权限!!!"οon click = " window . location . href = " JifangServlet?action = edit pre & id = $ { VO . id } " " > edit disabled = " disabled " title = "没有权限!!!"οon click = " if(window . confirm("将被删除:${vo.jifangName}?”)window . location . href = " JifangServlet?action=delete&id=${vo.id} " " >删除DOCTYPE html >机房管理机房管理简介:${vo.jifangJiesh Ao}状态:${vo.jifangStatus}备注:${vo.jifangText}
评论前必须登录!
注册