学生信息管理系统JSP 版 Eclipse学生信息管理系统 JSP 版(Eclipse)1、新建 new->Dynamic Web Project->名字为 StudentJSP
2、准备工作1)编写 JSP 测试文件,名称为 hello
jsp修改 hello
jsp 的 charset 为 UTF-8加入代码:Hello
代码:Insert title here Hello
附:修改默认字符集步骤:Windows->Preference->Web->JSPfiles-> 将 Encoding 改 为UTF-82)右 击 项 目 ->Properties->Resurce-> 修 改 字 符 集 为UTF-8
3)右 击 项 目 ->Properties->Java Build Path 改 为 如 图(需先在 WEB-INF 下新建 classes)4)将 MySQL 中一个 jar 包复制到/WEB-INF/lib 下,如图: 3、在/WebContent 下 new 一个 JSPfile,名字为 display0
jsp代码如下: // (注意要引入 sql 的 包)Insert title here 编号姓名年龄