update_ssort.jsp
来自「一个完整的门户网站,基于JSP环境下开发的,使用SQL数据库.」· JSP 代码 · 共 44 行
JSP
44 行
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="com.bwm.model.Ssort" %>
<%@ page import="com.bwm.core.*" %>
<%@ page import="java.util.*" %>
<%if (!Crazyadept.UserIsOK(session,FinalConstants.STATUS_ADMIN)) return;%>
<html>
<head>
<title>update_ssort</title>
</head>
<link href="../css/admin.css" rel="stylesheet" type="text/css">
<script src="../js/validate.js"></script>
<body>
<table border="1" align="center" cellpadding="0" cellspacing="0" class="tableBorder3">
<tr align="center">
<td colspan="2" class="TableTitle1" >软件类别信息修改</td>
</tr> <%BasetableFactory bf=BasetableFactory.getInstance();
String aid=ParamUtils.getRequestString(request,"sid");Ssort a=bf.SearchSsort("WHERE sid='"+aid+"'");
if(a!=null&&a.getSid()>0){ %>
<form name="form2" method="post" action="modify_ssort.jsp">
<tr align="center">
<td width="40%">类别名称</td>
<td width="60%" align="left"><input name="name" type="text" value="<%=a.getName()%>" size="40"></td>
</tr>
<tr align="center">
<td height="3">类别简介</td>
<td align="left"><input name="resume" type="text" value="<%=a.getResume()%>" size="50"></td>
</tr>
<tr align="center">
<td height="4" colspan="2"> <input type="hidden" name="action" value="modify">
<input type="hidden" name="sid" value="<%=a.getSid()%>">
<input type="submit" name="Submit" value="提交" onClick="return ssort()">
<input type="reset" name="Submit2" value="重置"></td>
</tr>
</form>
</table> <%}%>
<table width="80%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="50" colspan="5" align="right"><a href="#" onClick="Jscript:history.back()">返回</a></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?