addstudent.jsp

来自「我们做的J2EE课程设计实验,使用JSF语言编写一个简易的订单系统,麻雀虽小五脏」· JSP 代码 · 共 41 行

JSP
41
字号

<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*,java.io.*"%>
<%
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 'AddStudent.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">
	-->

  </head>
  
  <body><div align="center">
    增加学生信息 <br> 
  </div>
  <form action="build.jsp" method="post">
  <p>姓名:<input type="text" name="name"></p>
  <p>学号:<input type="text" name="number"></p>
  <p>语文: <input type"text" name="Chin"></p>
  <p>数学: <input type="text" name="Maths"></p>
  <p>英语: <input type="text" name="English"></p>
  <br><input type="submit" value="提交">
     <input type="reset" value="重置">
     </form>
  </body>
</html>

⌨️ 快捷键说明

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