handle.jsp
来自「查询关键字的源代码中的操作代码段和数据显示代码段」· JSP 代码 · 共 33 行
JSP
33 行
<%@ page contentType="text/html;charset=gbk" %>
<%@ page language="java"%>
<%@ include file="../../includes/public.jsp" %>
<%@ page import = "com.care.lims6.sm.FunctionQuery"%>
<%
String functioncode="functionquery";
FunctionQuery obj = new FunctionQuery(request);
String opt = util.GetRequest("opt");
boolean is = false;
if(opt.equals("INSERT")){
is = obj.Insert(functioncode) ;
}
if(opt.equals("EDIT")){
is = obj.Edit(functioncode) ;
}
%>
<HTML>
<HEAD>
<TITLE><%=Consts.titletxt%></TITLE>
<base target="_self">
<meta http-equiv="Content-Type" content="text/html; charset=gbk">
<script language="JavaScript">
<%if(is){%>
parent.s();
<%}else{%>
parent.f();
<%}%>
</script>
</head>
<body>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?