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

📄 createfkindex.jsp

📁 学生选课系统 赶快来下载啊啊好东西 呵呵啊啊 啊啊啊啊啊
💻 JSP
字号:
<%@ page contentType="text/html;charset=GBK" %>
<%@ page import="epod.setup.*,epod.framework.Path,epod.util.FileUtil,epod.util.RequestUtil"%>
<%@ include file="common.jsp" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>Epod setup</title>
<link href="../lib/style.css" rel="stylesheet" type="text/css">
</head>
<%
	session.setAttribute("epod.setup.fkindex","1");
	String ope = RequestUtil.getString(request,"operator","");
	boolean ret =true;
	if(ope.equals("0")){
		ret = STFkIndex.create();
		if(ret==true){
			response.sendRedirect("initdata.jsp");
		}
	}
%>
<body>

<table cellpadding="0" cellspacing="0" align="center" width="100%">
  <tr>
    <td height="62" colspan="2">
	 <%@ include file="header.jsp" %></td>
  </tr>
  <tr valign="top">
    <td width="172" height="289">
	<%@ include file="sidebar.jsp" %>
    <p>&nbsp;</p></td>
    <td width="607">
	<form action="createfkindex.jsp" method="post"  name="form1">
	<INPUT TYPE="hidden" name='operator' value=''>
	<table width="100%" border=0 cellpadding=1 cellspacing=1 class="unit_table">
      <tr class="page_desc">
        <td height="34" colspan="2" class="cell_null"><span class="cell_left">创建外键索引</span>
		<%if(!ret){%>
		<p>
			<font color=red>添加数据库表索引失败,请确认当前数据库用户是否有相关数据库操作权限,或相关数据库表索引已经存在。</font>
		</p>
		<%}%>
		</td>
      </tr>
     <!--  <tr>
        <td width="33%" class="cell_right"> 脚本: </td>
        <td width="67%" class="cell_left">&nbsp;</td>
      </tr> -->
    </table>
        <div align="right">
          <input type="button" name="Submit1" onclick=create('0') value="下一步">
          <input type="button" name="Submit2" onclick=skip() value="略过这一步">
        </div>
      </form>

    </td>
  </tr>
  <tr>
  <td colspan="2">
  	<%@ include file="footer.jsp" %>
  </td>
  </tr>
</table>

</body>
<SCRIPT LANGUAGE="JavaScript">
<!--
function skip(){
	document.forms[0].action="initdata.jsp";
	document.forms[0].submit();
}

function create(ope){
	document.all('operator').value=ope;
	document.forms[0].submit();
}
//-->
</SCRIPT>
</html>

⌨️ 快捷键说明

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