zoukankan      html  css  js  c++  java
  • web完善之路

    11.24

    今天对web系统进行完善,并加入jsp 的部分:没遇到什么问题。明天计划继续完善。

    代码部分:

    <%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ page import="com.pp.DBU" %>
    <%@page import = "java.sql.*" %>
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>Insert title here</title>
    </head>
    <body>

    <form action="shanchu" border="1">
    <table align = "center" border = "1">
    <tr>
    <td>请再次输入要删除的姓名:</td>
    <td>
    <input type="text" name="xingming">
    </td>
    </tr>
    <tr align="center">
    <td colspan="2">
    <input type="submit" value="确定">
    </td>
    </tr>
    </table>
    </body>
    </html>

    <%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>管理员界面</title>
    </head>
    <body>
    <form>
    <table align="center" border="1">

    <tr align="center">
    <td colspan="2">
    <input type="submit" value="增加学生对象" formaction="xuesheng.jsp" formmethod="get">
    </td>
    </tr>
    <tr align="center">
    <td colspan="2">
    <input type="submit" value="减少学生对象" formaction="delete.jsp" formmethod="get">
    </td>
    </tr>
    <tr align="center">
    <td colspan="2">
    <input type="submit" value="登记编辑分数" formaction="xuesheng.jsp" formmethod="get">
    </td>
    </tr>
    <tr align="center">
    <td colspan="2">
    <input type="submit" value="按学号查找学生成绩" formaction="xuehao.jsp" formmethod="get">
    </td>
    </tr>
    <tr align="center">
    <td colspan="2">
    <input type="submit" value="按姓名查找学生成绩" formaction="xingming.jsp" formmethod="get">
    </td>
    </tr>
    <tr align="center">
    <td colspan="2">
    <input type="submit" value="按成绩分数排序" formaction="chengji.jsp" formmethod="get">
    </td>
    </tr>
    </table>
    </form>
    </body>
    </html>

  • 相关阅读:
    2012-2013年度大总结
    [每日一题] 11gOCP 1z0-052 :2013-08-31 数据库的存储结构....................................................A8
    Oracle约束操作
    几道字典树题目
    1032
    uva 10718 Bit Mask(贪心)
    找工作笔试面试那些事儿(2)---内存管理那些事
    汉语-词语:结构
    汉语-词语:形式
    汉语-词语:方向
  • 原文地址:https://www.cnblogs.com/092e/p/14170059.html
Copyright © 2011-2022 走看看