基于javaweb+jsp实现企业车辆管理系统

运行环境

Java≥6、Tomcat≥7.0、MySQL≥5.5

开发工具

idea/eclipse/MyEclipse

技术框架

JavaWeb JavaBean JSP MVC MySQL Tomcat JavaScript idea eclipse MyEclipse Servlet SSM Maven …

适用

课程设计,大作业,毕业设计,项目练习,学习演示等

功能说明

登录、注册、退出、用户模块、公告模块、车辆模块的增删改查管理

部分代码实现JSP

<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>


    
    车辆添加
    <%@ include file="include/head.jsp" %>



            
        
        
    
    
            
${vo.carPhone}
        
   正常        故障    



<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>



车辆详情
<%@ include file="include/head.jsp" %>


                ${vo.carIndate}
            
${vo.carStatus}
${vo.carUser}
            
            
        

                

<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>



车辆管理
<%@ include file="include/head.jsp" %>


        if (document.getElementById("carPhone").value.trim().length == 0) {
            alert("联系方式不能为空!");
            return false;
        }
        return true;
    }


<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>



车辆编辑
<%@ include file="include/head.jsp" %>


            
            
   正常        故障    
            return false;
        }
        if (document.getElementById("carChexing").value.trim().length == 0) {
            alert("车型不能为空!");
            return false;
        }
        if (document.getElementById("carCheng").value.trim().length == 0) {
            alert("里程不能为空!");
            return false;
        }
        if (document.getElementById("carIndate").value.trim().length == 0) {
            alert("购买日期不能为空!");
            return false;
        }
        if (document.getElementById("carUser").value.trim().length == 0) {
            alert("驾驶员不能为空!");
            return false;
            
${vo.carChexing}
${vo.carCheng}
                
车牌 品牌型号 ${vo.carUser} ${vo.carPhone}
            
    
    
${vo.carPai}
${vo.carName}
            
        if (document.getElementById("carChexing").value.trim().length == 0) {
            alert("车型不能为空!");
            return false;
        }
        if (document.getElementById("carCheng").value.trim().length == 0) {
            alert("里程不能为空!");
            return false;
        }
        if (document.getElementById("carIndate").value.trim().length == 0) {
            alert("购买日期不能为空!");
            return false;
        }
        if (document.getElementById("carUser").value.trim().length == 0) {
            alert("驾驶员不能为空!");
            return false;
        }
        if (document.getElementById("carPhone").value.trim().length == 0) {
            alert("联系方式不能为空!");
            return false;
        }
        return true;
                

效果图

基于javaweb+jsp实现企业车辆管理系统_第1张图片

基于javaweb+jsp实现企业车辆管理系统_第2张图片

基于javaweb+jsp实现企业车辆管理系统_第3张图片

基于javaweb+jsp实现企业车辆管理系统_第4张图片

基于javaweb+jsp实现企业车辆管理系统_第5张图片

基于javaweb+jsp实现企业车辆管理系统_第6张图片

以上就是基于javaweb+jsp实现企业车辆管理系统的详细内容,更多关于javaweb jsp 的资料请关注脚本之家其它相关文章!

你可能感兴趣的:(基于javaweb+jsp实现企业车辆管理系统)