?? typeupdate.jsp
字號:
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="java.util.List"%>
<%@ page import="java.sql.*"%>
<%@ page import="com.victor.domain.NewsTypeActionForm"%>
<html>
<head>
<title>修改類別名稱</title>
</head>
<style type="text/css">
<!--
body{
margin-left:0px;
margin-top:0px;
}
td{font-size:9pt;}
-->
</style>
<script language="JavaScript">
function RgTest(){
if(document.form.typeName.value==""){
window.alert("請輸入新聞標(biāo)題:");
document.form.typeName.focus();
return false;
}
return true;
}
</script>
<%List list=(List)request.getAttribute("nametype");%>
<% for(int i=0;i<list.size();i++){
NewsTypeActionForm nametype=(NewsTypeActionForm)list.get(i);
%>
<body>
<table width="568" height="419" border="0" cellpadding="2" cellspacing="1" bgcolor="#052754">
<tr>
<td bgcolor="#FFFFFF" valign="top" align="center">
<p><strong style="color:#FF9900"><br>
<br>
<br>
修改類別名稱</strong></p>
<form name="form" method="post" action="typeUpdateAction.do?ID=<%=nametype.getTypeID()%>" onSubmit="return RgTest()">
<table width="379" border="0" cellspacing="1" cellpadding="2">
<tr>
<td width="84" style="color:#099cc">名稱:</td>
<td width="264"><input type="text" name="typeName" value="<%=nametype.getTypeName()%>"></td>
</tr>
<%}%>
</table><br>
<input type="submit" name="Submit2" value="提交">
<input type="reset" name="Submit" value="重置">
</form> </td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -