testSystem.rar

时间:2023-07-03 10:01:01
【文件属性】:

文件名称:testSystem.rar

文件大小:2.29MB

文件格式:RAR

更新时间:2023-07-03 10:01:01

前后端分离

请修改UserControl,TestControl下的数据库连接路径 并在数据库中创建以下数据表 CREATE TABLE user( id char(12) not null, password char(20) not null ); CREATE TABLE problem( pno integer primary key autoincrement, ptext char(5000) not null ); CREATE TABLE option( ono integer primary key autoincrement, otext char(5000) not null, pno integer, score integer not null, foreign key(pno) references problem(pno) ); 最后需要插入合适的数据 insert into user values("root","123"); insert into problem(ptext) values("who is the best handsome in 18cst?"),("who is the best amazing man?"),("what is the Xuguang's xuehao?"); insert into option(otext,pno,score) values("cst18089",1,0),("yqy",1,0),("1208最佳第五人",1,0),("迷hotel",1,1); insert into option(otext,pno,score) values("海绵宝宝",2,0),("牙白跌死内",2,0),("qy",2,1),("玛卡巴卡",2,0); insert into option(otext,pno,score) values("cst18057",3,0),("cst18059",3,0),("cst18089",3,0),("8848",3,1); /* 用户表字段为账号和密码 问题表字段为问题编号,问题描述。问题编号为自增id 选项表字段为选项编号,选项描述,问题编号,选项分数。选项编号为自增id


【文件预览】:
testSystem
----src()
--------lyf()
----WebContent()
--------login.jsp(644B)
--------jquery-3.4.1()
--------register.jsp(1KB)
--------content.jsp(4KB)
--------mdui()
----sqlite.txt(947B)

网友评论

相关文章