设计一个jsp页面,完成连接到数据库student,并查询库中score表中score字段值小于60的全部记录
< sql:setDataSource var="snapshot" driver="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/student?useUnicode=true&characterEncoding=utf-8"
user= "用户名" password="密码"/>
< sql:query dataSource= "${snapshot}" var= "result" >
SELECT * FROM score where score < 60;
</ sql:query >
-数据都在result里面.