摘要: 只是个demo,需要数据校验,流程是通的 配置上传文件的解析器 前端代码; <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><!DOCTYPE html><html><head 阅读全文
posted @ 2019-04-19 10:04 change丶fl 阅读(1836) 评论(0) 推荐(0) 编辑
摘要: <script> var obj2={};//这只是JS对象 var obj3={width:100,height:200};/*这跟JSON就更不沾边了,只是JS的对象 */ var obj4={'width':100,'height':200};/*这跟JSON就更不沾边了,只是JS的对象 */ 阅读全文
posted @ 2019-03-29 14:38 change丶fl 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 目录结构 1.web.xml配置文件 <?xml version="1.0" encoding="UTF-8"?><web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xm 阅读全文
posted @ 2019-03-16 17:15 change丶fl 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 插入查询获得当前的自增主键ID值 <insert id="insert" useGeneratedKeys="true" keyProperty="userId"> insert into user(userName,password,regTime) values(#{userName},#{pa 阅读全文
posted @ 2019-03-16 17:02 change丶fl 阅读(101) 评论(0) 推荐(0) 编辑