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>

  • 相关阅读:
    centos7 安装redis服务及phpredis扩展
    centos7 LANMP 安装
    php reids 单机命令
    浅谈正向代理和反向代理
    php-fpm日志告警"seem busy"
    PHP-redis中文文档
    Nginx配置文件nginx.conf中文详解
    生成带参数的微信二维码
    微信临时二维码时为32位非0整型
    [Linux]Service mysql start出错(mysql: unrecognized service)解决方法
  • 原文地址:https://www.cnblogs.com/092e/p/14170059.html
Copyright © 2011-2022 走看看