📄 delfonts.jsp
字号:
<%@ page pageEncoding="GB2312"%>
<%@ page contentType="text/html" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ include file="ispass.jsp" %>
<fmt:requestEncoding value="gb2312" />
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>删除字体</title>
</head>
<body>
<c:set var="urls" value="<%=request.getHeader("Referer")%>" />
<c:catch var="isok">
<jsp:useBean id="isinto" class="yy.intBean"/>
<jsp:setProperty name="isinto" property="streger" value="${param.Id}" />
<c:if test="${isinto.integer == false}">
<c:set var="errorMsg" scope="request" value="参数提交错误" />
<c:set var="errorUrl" scope="request" value="fonts.jsp" />
<jsp:forward page="error.jsp" />
</c:if>
<sql:update>
delete from fonts Where id = ?
<sql:param value="${param.Id}" />
</sql:update>
<c:redirect url="fonts.jsp" />
</c:catch>
<c:if test="${!empty isok}">
<c:set var="errorMsg" scope="request" value="对不起参数提交错误,请返回另行操作!" />
<c:set var="errorUrl" scope="request" value="${urls}" />
<jsp:forward page="error.jsp" />
</c:if>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -