博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
BOOT客户管理系统IDEA开发(一)
阅读量:3939 次
发布时间:2019-05-23

本文共 8430 字,大约阅读时间需要 28 分钟。

一、开发环境

IntelliJ IDEA 2019.3.1 + MySQL 5.7.25

二、系统文件组织结构

12

注:out和target是自动生成不需要手动创建

三、准备所需JAR包

在这里插入图片描述

在这里插入图片描述
注:mysql-connector-java包不建议用最新的,连接低版本数据库可能会报错
话不多说,小编找了好久的包放云盘了
https://pan.baidu.com/s/1aiy3K80bxA61rB7rm3x3Mg

四、开始配置配置文件

applicationContext.xml

 

db.properties

jdbc.driver=com.mysql.jdbc.Driverjdbc.url=jdbc:mysql://localhost:3306/boot_crmjdbc.username=rootjdbc.password=你的数据库密码jdbc.maxTotal=30jdbc.maxIdle=10jdbc.initialSize=5

log4j.properties

# Global logging configurationlog4j.rootLogger=ERROR, stdout# MyBatis logging configuration...log4j.logger.com.itheima.core=DEBUG# Console output...log4j.appender.stdout=org.apache.log4j.ConsoleAppenderlog4j.appender.stdout.layout=org.apache.log4j.PatternLayoutlog4j.appender.stdout.layout.ConversionPattern=%5p [%t] - %m%n
 

mybatis-config.xml

resource.properties

customer.from.type=002customer.industry.type=001customer.level.type=006
 

springmvc-config.xml

 

web.xml

contextConfigLocation
classpath:applicationContext.xml
org.springframework.web.context.ContextLoaderListener
encoding
org.springframework.web.filter.CharacterEncodingFilter
encoding
UTF-8
encoding
*.action
crm
org.springframework.web.servlet.DispatcherServlet
contextConfigLocation
classpath:springmvc-config.xml
1
crm
*.action
index.jsp
 

五、开始配置JSP

index.jsp

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

login.jsp

<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>    登录页面    
 

customer.jsp

<%@ page language="java" contentType="text/html; charset=UTF-8"         pageEncoding="UTF-8"%><%@ page trimDirectiveWhitespaces="true"%><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%><%--<%@ taglib prefix="itheima" uri="http://itheima.com/common/"%>--%><%    String path = request.getContextPath();    String basePath = request.getScheme() + "://" + request.getServerName()            + ":" + request.getServerPort() + path + "/";%>    
客户管理-BootCRM

客户管理

新建
客户信息列表
编号 客户名称 客户来源 客户所属行业 客户级别 固定电话 手机 操作
${ row.cust_id} ${ row.cust_name} ${ row.cust_source} ${ row.cust_industry} ${ row.cust_level} ${ row.cust_phone} ${ row.cust_mobile} 修改 删除

转载地址:http://hwywi.baihongyu.com/

你可能感兴趣的文章
OS + Unix Aix telnet
查看>>
IBM Lotus
查看>>
Linux +Win LAMPP Tools XAMPP 1.7.3 / 5.6.3
查看>>
my read_university
查看>>
network manager
查看>>
OS + Linux Disk disk lvm / disk partition / disk mount / disk io
查看>>
RedHat + OS CPU、MEM、DISK
查看>>
net TCP/IP / TIME_WAIT / tcpip / iperf / cain
查看>>
webServer kzserver/1.0.0
查看>>
hd printer lexmark / dazifuyin / dayin / fuyin
查看>>
OS + Unix IBM Aix basic / topas / nmon / filemon / vmstat / iostat / sysstat/sar
查看>>
my ReadMap subway / metro / map / ditie / gaotie / traffic / jiaotong
查看>>
OS + Linux DNS Server Bind
查看>>
linux内核模块中 软中断的 例子
查看>>
grails中主键的uuid生成方式
查看>>
grails下acegi的访问规则的配置
查看>>
纯c封装的一个队列
查看>>
linux中时间精度的获取问题
查看>>
cancel_rearming_delayed_workqueue 函数使用的一个小备注
查看>>
使用LOGFONT修改windows sdk下字体为系统字体
查看>>