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

📄 inputauto.jsp

📁 基于struts的车辆管理系统
💻 JSP
字号:
<%@ page language="java" pageEncoding="utf-8"%>
<%@include file="head.jsp" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
  <head>
    <html:base />
    
    <title>MyJsp.jsp</title>


  </head>
  <!-- 设计两个表:
1. 车辆信息autos(id,category类别,model型号,no车牌号,price租车价格)
2. 租车信息leases(id,autoId车辆id,customer客户名称,leaseDate租车日期,returned是否还车?,returnDate还车日期)
   -->
  <body>
  <html:form action="/inputAuto.do" method="post">
  <table width="672" height="350" border="1" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td width="381" height="366" background="image/bank.jpg"><table width="300" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td>类别:
          <html:select property="category">
            <html:option value="大客车">大客车</html:option>
            <html:option value="面包车">面包车</html:option>
            <html:option value="小轿车">小轿车</html:option>
          </html:select>
            <br>
车型:
<html:text property="model" maxlength="10"></html:text>
<html:errors property="model_error"/>
<br>
车牌:
<html:text property="no" maxlength="7"></html:text>
<html:errors property="no_error"/>
<br>
价格:
<html:text property="price"></html:text>
<html:errors property="price1"/>
<br>
<html:submit>提交</html:submit></td>
</html:form>
        </tr>
      </table></td>
    </tr>
  </table>
  </body>
  <%@ include file="end.jsp"%>
</html:html>

⌨️ 快捷键说明

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