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

📄 c0d6d4c5a67b001c1418dc9927273de5

📁 我们做的J2EE课程设计实验,使用JSF语言编写一个简易的订单系统,麻雀虽小五脏俱全,适合初学者学习J2EE时参考,代码简炼精深,具有一定的参考价值.
💻
字号:
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'add.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script type="text/javascript">
boolean check()
{
var form = document.forms[0];
if(Order==""&&Buyer==""&&Itemnum==""&&Item==""&&Num==""&&Price=="")
return false;
else
return true;
}
  </head>
  </script>
  
  <body>
              <font size="5">请你填写完以下信息</font> 
   <form name="fom" method="post" action="success.jsp" onsubmit="return check()">
   <p>订单号:<input type="text",name="Order"></p>
   <p>购买人:<input type="text",name="Buyer"></p>
   <p>物料号:<input type="text",name="Itemnum"></p>
   <p>物料:<input type="text",name="Item"></p>
   <p>数量:<input type="text",name="Num"></p>
   <p>单价: <input type="text",name="Price"></p>
   <p><input type="submit" value="确定">
      <input type="reset" value="取消"></p>
   <br>
  
   </form>
  </body>
</html>

⌨️ 快捷键说明

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