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

📄 update.jsp

📁 一个简单的MVC模式例子
💻 JSP
字号:
<%@ page language="java" import="java.util.*" pageEncoding="GBK"%>
<%
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 'update.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>
      <center>
         <form action="gg"  method="post">
            
            <h2> 请输入你要新增的员工信息</h2>  <br>
            请输入员工编号:<input type="text"  name="empno" >  <br>      
            请输入员工姓名:<input type="text"  name="ename" >  <br>     
            请输入员工职业:<input type="text"  name="job" >  <br>     
            请输入员工MGR:<input type="text"  name="mgr" >  <br>     
   <!--     请输入员工雇用日期:<input type="text"  name="hiredate" >  <br>     
            请输入员工薪水:<input type="text"  name="sal" >  <br>  
             请输入员工补贴:<input type="text"  name="comm" >  <br>   
          请输入员工部门号:<input type="text"  name="deptno" >  <br>     -->
          
           请再次确定:  <select  name="select">
                
                  <option>update</option>
                </select>  <br>
           <input type="submit"  value="提交"> 
           &nbsp;&nbsp;
           <input  type="reset"   value="重设">
         </form>
       </center>
  </body>
</html>

⌨️ 快捷键说明

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