?? index.jsp
字號:
<%@page language="java" contentType="text/html;charset=GBK"%>
<%@page import="oa.main.DealString"%>
<%@include file="../../inc.jsp"%>
<%
DealString ds = new DealString();
//取得菜單類別
String strType = ds.toString((String)request.getParameter("txt_type"));
if(strType.equals(""))strType = "1";
//錯誤碼
String errcode = ds.toString((String)request.getParameter("errcode"));
if(errcode.equals(""))errcode = "0";
if(!errcode.equals("0"))response.sendRedirect("../err.jsp?ip=sysman/index.jsp&txt_type="+strType+"&errcode="+errcode);
//編號
String strID = ds.toString((String)request.getParameter("txt_id"));
//字典名稱
String strDict = ds.toString((String)request.getParameter("txt_dict"));
//增刪改類型
String strEdit = ds.toString((String)request.getParameter("txt_edit"));
String childfile = "";
String txt = "";
String addr = "?txt_id="+strID+"&txt_type="+strType+"&txt_dict="+strDict+"&txt_edit="+strEdit;
if(strType.equals("1"))
{
childfile = "dict.jsp"+addr;
txt = "字典維護";
if(strEdit.equals("1")||strEdit.equals("2"))childfile = "dict_edit.jsp"+addr;
}
%>
<HTML>
<HEAD>
<TITLE>極限空間 - 系統管理</TITLE>
<META http-equiv=Content-Type content="text/html; charset=GBK">
<LINK href="../css/sysman.css" rel=stylesheet>
<META content="MSHTML 6.00.2800.1226" name=GENERATOR>
<!--
<META http-equiv="refresh" content="1">
//-->
</HEAD>
<BODY leftMargin=0 topMargin=0>
<form name=form1 action="index.jsp" method=post>
<input type=hidden name="txt_type" value="<%=strType%>">
<input type=hidden name="txt_id" value="<%=strID%>">
<input type=hidden name="txt_dict" value="<%=strDict%>">
<input type=hidden name="txt_edit" value="<%=strEdit%>">
<br>
<jsp:include page="<%=childfile%>"/>
<br><br>
<script>
function changepage(type)
{
document.all.txt_type.value = type;
document.all.txt_id.value = "";
document.all.txt_dict.value = "";
document.all.txt_edit.value = "";
document.all.form1.action = "index.jsp";
document.all.form1.submit();
}
</script>
</form>
</BODY></HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -