06 2020 档案

摘要:一、配置文件 1.1 jdbc配置文件 1.2 mybatis配置文件 1.3 spring-mybatis配置文件 1.4 springmvc配置文件 <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="htt 阅读全文
posted @ 2020-06-24 22:15 chaserFF 阅读(268) 评论(0) 推荐(0)
摘要:一、删除新闻 1.1 Controller层 1.2 Service层 二、新闻的修改 2.1 Controller层 2.2 Service层 三、新闻的添加 3.1 Controller层 3.2 Service层 四、新闻的查看 4.1 Controller层 4.2 Service层 五、效 阅读全文
posted @ 2020-06-24 22:13 chaserFF 阅读(136) 评论(0) 推荐(0)
摘要:一、建表并初始化数据 二、登陆 2.1 登陆失败提示 2.2 登陆成功显示新闻列表 public class NewsMapperImpl implements NewsMapper { @Override public List<News> findAllNewsHref() { Connecti 阅读全文
posted @ 2020-06-15 13:31 chaserFF 阅读(200) 评论(0) 推荐(0)
摘要:一、建立数据库 二、登陆时密码校验 2.1 post请求提交表单 2.2 获取登陆用户名及密码,并进行验证 Service层: 核心代码: public class LoginServiceImpl implements LoginService { private UserMapper userM 阅读全文
posted @ 2020-06-02 23:16 chaserFF 阅读(227) 评论(0) 推荐(0)