📄 songfind.jsp
字号:
<%@ page language="java"%>
<jsp:useBean id="fin" scope="application" class="SongClient"/>
<jsp:setProperty name="fin" property="iSong_id" param="tid"/>
<jsp:setProperty name="fin" property="cSong_name" param="tname"/>
<jsp:setProperty name="fin" property="iArtist_code" param="tcode"/>
<jsp:setProperty name="fin" property="cLink" param="tlink"/>
<html>
<head>
<title>Music Inc.welcomes you</title>
<script language="javascript">
function choose(url)
{
document.song.action=url;
document.song.submit();
}
function choosee(url)
{
document.song.action=url;
document.song.submit();
}
function chooseee(url)
{
document.song.action=url;
document.song.submit();
}
function reset()
{
tid="";
tname="";
tcode="";
tlink="";
}
</script>
</head>
<body>
<%
Vector v=new Vector();
String id="";
String name="";
String code="";
String link="";
try
{
v=(Vector)fin.findEvent();
id=(String)v.elementAt(0);
name=(String)v.elementAt(1);
code=(String)v.elementAt(2);
link=(String)v.elementAt(3);
}
catch(Exception e)
{}
%>
<p> <font size="5"> <font color="#808000"><b>
</b></font><b><font color="#808000"> </font></b></font><b><font color="#808000" size="6">Music
Inc.Warehouse</font></b></p>
<p> </p>
<form method="POST" name=song action="SongFind.jsp">
<table border="0" width="68%">
<tr>
<td width="131%">Song ID:</td>
<td width="61%"><input type="text" name="tid" size="20" value="<%=id%>"></td>
</tr>
<tr>
<td width="131%">Song Name:</td>
<td width="61%"><input type="text" name="tname" size="20" value="<%=name%>"></td>
</tr>
<tr>
<td width="131%">Artist Code:</td>
<td width="61%"><input type="text" name="tcode" size="20" value="<%=code%>"></td>
</tr>
<tr>
<td width="131%">Click On trying listening</td>
<td width="61%"><input type="text" name="tlink" size="30" value="<%=link%>"></td>
</tr>
</table>
<p><input type="button" value="Create" name="create" onclick="javascript:choose('SongAdd.jsp')">
<input type="submit" value="Find" name="find">
<input type="button" value="Delete" name="delete" onclick="javascript:choosee('SongDelete.jsp')">
<input type="button" value="Modify" name="modify" onclick="javascript:chooseee('SongUpdate.jsp')">
<input type="reset" value="Reset" onclick=reset()>
</p>
<p><a href=index.htm>Home Page</a></p>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -