标签:html new 列表 密码 idt github image loading index
一.在数据库中创建新闻表:

二.用servelt查询数据库中是否存在用户:


2.如果用户不存在:

跳转到报错页面:

如果用户名和密码正确,进入新闻管理页面:

三.显示新闻:
创建一个showNewsservelt用来显示新闻:

点击index.html页面中的栏目选项,直接跳转到新闻显示页面:

JSP用EL表达式显示新闻标题列表:



四.成功的显示新闻界面:

github地址:https://github.com/fengpeng123/jsp
标签:html new 列表 密码 idt github image loading index
原文地址:https://www.cnblogs.com/fengpeng123/p/13129488.html