cms
神也会困
这个作者很懒,什么都没留下…
展开
-
基于jq和springMvc方式的二级联动
结构记得导包applicationContext-mvc.xml<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" x...原创 2019-06-08 22:23:02 · 143 阅读 · 0 评论 -
cms管理系统登录和登录拦截
登录功能(spring 的拦截器)select * from t_user where uername=? and password=?1.0 登录的功能1.获取前台传过来的用户名和密码2.根据用户名密码在数据库中查询当前登录用户3.查询成功返回一个User对象->存入session中(HttpSession session),跳转到主页面如果没成功->跳转到登录页面,并...原创 2019-06-03 13:25:42 · 224 阅读 · 0 评论