create or replace function get_name(str in varchar
return varchar
is
begin
if str =
return
elsif str =
return
else
return
end if;
end get_name;
<%@ page language=
<jsp:directive
<jsp:directive
<jsp:directive
<jsp:directive
<jsp:directive
<HTML>
<HEAD>
<link rel=
</HEAD>
<%
Database db = new Database();
db
Statement stmt =null;
ResultSet rs = null;
String sql=
String userid=
String name=
String command = request
int xzid=CommonalityBean
try
{
stmt= db
sql=
rs=stmt
while(rs
{
name=rs
}
}catch (Exception e)
{
e
}finally{
}
%>
<BODY >
<form name=
<center>用戶登記信息</center>
<table align=
<tr>
<td><input type=
<input type=
<input type=
</td>
</tr>
<tr>
<td><input type=
<input type=
</td>
</tr>
</table>
<center><%out
<input type=
</form>
</body>
<script type=
function sumb()
{
mand
f
}
</script>
</html>
注
From:http://tw.wingwit.com/Article/program/Oracle/201311/18939.html