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

📄 demand_index_add.jsp

📁 《JSP数据库系统开发完全手册》配套关盘
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*"%>
<%
	String sess=(String)session.getAttribute("username");
	if(sess==null||sess.equals("")){
		response.sendRedirect("../main.jsp");
	}else{
		swing.Rous rou=new swing.Rous();
		boolean maybe=rou.toInt(sess,"row125");
		if(!maybe){
			response.sendRedirect("../notrous.jsp");
		}
	}
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<link href="../css/style1.css" rel="stylesheet">
</head>
<script language="javascript">
<!--
	function check(){
		if(frm.demand.value==""){
			alert("请输入需求项目");
			frm.demand.focus();
			return false;
		}
		if(frm.money.value==""){
			alert("请输入项目金额");
			frm.money.focus();
			return false;
		}else if(isNaN(frm.money.value)){
			return false;
			
		}
		if(frm.explain.value==""){
			alert("请输入该项目的简要说明");
			frm.explain.focus();
			return false;
		}	
}
-->
</script>
<body>
<%
	String id=request.getParameter("id");
%>
&nbsp;&nbsp;&nbsp;<img src="../images/Manual11.gif" width="16" height="16">客户需求管理
<hr color="#006699" size="1">
<table width="100%"  border="1" cellspacing="0" cellpadding="0" bordercolor="#FFFFFF" bordercolordark="#EFF3FF" bordercolorlight="#FFFFFF">
  <form action="Demand_Index_Update.jsp" name="frm" method="post" target="bottomFrame">
  <tr>
    <td width="14%" height="24" align="center">需求项目</td>
    <td width="24%"><input name="demand" type="text" class="txt_grey" size="40"></td>
    <td width="18%" align="center">大约金额</td>
    <td width="44%"><input name="money" type="text" class="txt_grey" size="40"></td>
  </tr>
  <tr>
    <td height="24" align="center">简要说明</td>
    <td height="24" colspan="3"><textarea name="explain" cols="80" rows="2" class="txt_grey"></textarea></td>
  </tr>
  <tr align="center" bgcolor="#EFF3FF">
    <td height="24" colspan="4"><input name="Submit" type="submit" class="btn_grey" value="保存" onClick="return check()">
    <input name="Submit2" type="reset" class="btn_grey" value="重置">
	<input name="id" type="hidden" value="<%=id%>">
	<input name="file" type="hidden" value="Demand_Index.jsp">
	<input name="create" type="hidden" value="create">	</td>
  </tr>
  </form>
</table>
</body>
</html>

⌨️ 快捷键说明

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