ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

今日收获

2020-12-19 21:32:54  阅读:122  来源: 互联网

标签:color item nbsp 收获 今日 20px font size


11.25

1完善图书管理系统

<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>管理员</title>
<style >
.a{
        font-size: 26px;
        margin-top: 20px;
    }
    a{
        text-decoration: none;
    }
    a:hover {
    color: red;
}
</style>
</head>
<body>
<div align="center">
<h1 style="color: black;">管理员功能页</h1>
        <div class="a">
            <a href="tianjia.jsp">添加读者信息</a>
        </div>
        <div class="a">
            <a href="tianjia2.jsp">添加新书信息</a>
        </div>
        <div class="a">
            <a href="dayin.jsp">打印催还图书信息</a>
        </div>
</div>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<style>
    .a{
        margin-top: 20px;
    }
    .b{
        font-size: 20px;
        width: 160px;
        color: white;
        background-color: greenyellow;
    }
    .tb, td {
        border: 1px solid black;
        font-size: 22px;
    }
</style>
</head>
<body>
    <div align="center">
        <h1 style="color: red;">人口信息</h1>
        <a href="duzhegong.jsp">返回主页</a>
    
        <table class="tb">
            <tr>
                <td>编号</td>
                <td>书名</td>
                <td>作者名</td>
                <td>出版社</td>
                <td>可借阅数量</td>
        
            </tr>
            <!-- forEach遍历出adminBeans -->
            <c:forEach items="${holds}" var="item" varStatus="status">
                <tr>
                    <td>${item.bianhao}</td>
                    <td><a>${item.shuming}</a></td>
                    <td>${item.zuozheming}</td>
                    <td>${item.chubanshe}</td>
                    <td>${item.kejieyueshuliang}</td>
        
                </tr>
                
            </c:forEach>
        </table>
    <form action="Servlet?method=jieyue" method="post" >
            
            <div class="a">
                <button type="submit" class="b">借&nbsp;&nbsp;&nbsp;阅</button>
            </div>
        </form>
    </div>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>借阅图书</title>
<style>
    .a{
        margin-top: 20px;
    }
    .b{
        font-size: 20px;
        width: 160px;
        color: white;
        background-color: greenyellow;
    }
</style>
</head>
<body>
    <%
        Object message = request.getAttribute("message");
        if (message != null && !"".equals(message)) {
    %>
    <script type="text/javascript">
              alert("<%=request.getAttribute("message")%>");
              var  asd=request.getAttribute("name");         
    </script>
    <%
        }
    %>
    <div align="center">
        <h1 style="color: red;">图书信息</h1>
        <a href="denglu.jsp">返回主页</a>
        
        <form action="Servlet?method=jieyue0" method="post" >
            <div class="a">
                编号<input type="text" id="bianhao" name="bianhao"/>
            </div>
            <div class="a">
                <button type="submit" class="b">查&nbsp;&nbsp;&nbsp;看</button>
            </div>
        </form>
    </div>
    
</body>
</html>

2.session部分不太会

3.继续web

标签:color,item,nbsp,收获,今日,20px,font,size
来源: https://www.cnblogs.com/feng747/p/14161285.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有