1、在Oracle数据库中创建表sparametertbl
2、在JSP页面中写代码
<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
<%@ page import="java.sql.*"%> <!-- 添加java的sql包 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>加载页面</title>
</head>
<body>
<%Class.forName("oracle.jdbc.driver.OracleDriver").newInstance(); //加载Oracle数据库的驱动
String url="jdbc:oracle:thin:@localhost:1521:orcl"; //添加Oracle的连接地址,localhost即默认本机地址
String user="student"; //数据库的帐号
String password="