?? linkupdate.jsp
字號(hào):
<%@ page contentType="text/html; charset=gb2312" %>
<%@ page import="java.util.List"%>
<%@ page import="java.sql.*"%>
<%@ page import="com.victor.domain.LinkActionForm"%>
<html>
<head>
<title>修改鏈接</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
}
td{
font-size:9pt;
}
.style1 {
color: #FF9900;
font-weight: bold;
}
-->
</style></head>
<script language="JavaScript">
function RgTest(){
if(document.form.linkName.value==""){
window.alert("請(qǐng)輸入鏈接的圖片信息!");
document.form.linkName.focus();
return false;
}
if(document.form.linkAddress.value==""){
window.alert("請(qǐng)輸入鏈接圖片的地址!");
document.form.linkAddress.focus();
return false;
}
return true;
}
</script>
<%List list=(List)request.getAttribute("linklist");%>
<%for(int i=0;i<list.size();i++){
LinkActionForm link=(LinkActionForm)list.get(i);
%>
<body>
<table width="568" height="419" border="0" cellpadding="2" cellspacing="1" bgcolor="#052754">
<tr>
<td align="center" valign="top" bgcolor="#FFFFFF">
<div align="center" class="style1" ><br>
<br>
<br>
修改鏈接</div>
<form action="linkUpdateAction.do?ID=<%=link.getLinkID()%>" onSubmit="return RgTest()" method="post" name="form">
<div align="center"> </div>
<table width="365" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#052754">
<tr>
<td align="center" height="24"bgcolor="#0099cc"> 鏈接網(wǎng)站名稱 </td>
<td bgcolor="#FFFFFF"><input type="text" name="linkName" value="<%=link.getLinkName()%>"></td>
</tr>
<tr>
<td align="center" height="24"bgcolor="#0099cc"> 鏈接的地址 </td>
<td bgcolor="#FFFFFF"><input type="text" name="linkAddress" value="<%=link.getLinkAddress()%>"></td>
</tr>
</table>
<br>
<%}%>
<input type="submit" name="Submit" value="提交">
<input type="reset" name="Submit2" value="重置">
</form> </td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -