⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 viewqx.jsp

📁 “JSP数据库项目案例导航”一书从第一章到第十一章各章实例的源程序文件以及数据库文件。 注意: 1. 本书中的案例提供的数据库环境不同
💻 JSP
字号:
<%@page language="java" contentType="text/html;charset=GBK"%>
<%@page import="java.util.*,java.text.*,oa.main.DealString"%>
<%
oa.bean.PersonBean myBean =null;
try{
	myBean = new oa.bean.PersonBean();
  	DealString ds = new DealString();

	if(myBean.getConn()==null)
	{
		%>		
		数据库无法响应,请<a href="javascript:window.history.back(-1);">返回</a>重试
		<%out.close();
	}

	String strPersonNo = ds.toString((String)request.getParameter("txt_personno"));
	String strtype = ds.toString((String)request.getParameter("type"));
	if(strtype.equals(""))
		strtype = "1";

	myBean.setPersonNO(strPersonNo);

	String strOper = "";
	if(strtype.equals("1"))
		strOper = myBean.toOperName(myBean.getOper());
	if(strtype.equals("2"))
		strOper = myBean.toFlowName(myBean.getFlow());
	if(strtype.equals("3"))
		strOper = myBean.getConf();


%>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>权限浏览</title>
</head>
<script language="javascript" src="funs.js"></script>
<body bgcolor= "#F6FEE8">
<form name="advform" method=get>
<style type=text/css>
.fashion
{BACKGROUND: D0E7FF; border:1 solid D0E7FF; COLOR: #000000; FONT-SIZE: 10pt; FONT-STYLE: normal; FONT-VARIANT: normal; FONT-WEIGHT: normal; HEIGHT: 18px; LINE-HEIGHT: normal}
.HAND
{CURSOR:hand}

</style>

<TABLE WIDTH="98%" BORDER=0 CELLSPACING=0 CELLPADDING=0 ALIGN=center style="table-layout:fixed;word-break:break-all">
<tr><td>
<input type="button" name="sub" value="返回" class=fashion onclick="self.close()"> 
</td></tr></table>
<hr size="4" noshade color="#CC9966"></hr>

<TABLE WIDTH=90% BORDER=0 CELLSPACING=1 CELLPADDING=3 ALIGN=center style="table-layout:fixed;word-break:break-all">
<tr>
<TD ALIGN=center BGCOLOR=#70A6FF><FONT size="4" COLOR=#FFFFFF><i>
<MARQUEE behavior=alternate scrollAmount=3 scrollDelay=0 border="0"><FONT color=#d6713d><B>权限浏览</B></FONT></MARQUEE>
</i></FONT></TD>
</table>
<TABLE WIDTH="98%" BORDER=0 CELLSPACING=0 CELLPADDING=3 ALIGN=center style="table-layout:fixed;word-break:break-all">
<td >&nbsp;
<textarea rows="7" name="advice" cols="31" style="border-style: double; border-color: #CC9966" readonly></textarea>
</td>
</table>

</form>
</body>
</html>
<script>advform.advice.value="<%=strOper%>";</script>
<%}finally{
	if(myBean!=null)myBean.closeConn();
}%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -