📄 modifysoft.jsp
字号:
<%@ page contentType="text/html; charset=GB2312" %>
<jsp:useBean id="info" scope="page" class="org.jetic.web.soft.Infomation" />
<jsp:useBean id="soft" scope="page" class="org.jetic.web.soft.Soft" />
<jsp:setProperty name="info" property="*" />
<%! String errormsg; %>
<%
soft.setID(info.getSoftID());
soft.set("softName", info.getSoftName());
soft.set("softLinkurl", info.getSoftLinkurl());
soft.set("softFilesize", info.getSoftFilesize());
soft.set("softOstype", info.getSoftOstype());
soft.set("softIntro", info.getSoftIntro());
soft.set("softClick", "0");
if (soft.isUpdatable()) {
if (soft.update())
response.sendRedirect("soft.jsp?softID=" + info.getSoftID());
else
errormsg = "更新失败!";
}
else {
errormsg = "带 (*) 号项目必须填写";
}
%>
<html>
<head>
<title>软件管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="hover.css" type="text/css">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<%= errormsg %>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -