zoukankan      html  css  js  c++  java
  • 热词2

    爬取实现热刺云的显示

    <%@ page import="cvpr.cvpr" language="java" contentType="text/html; charset=UTF-8"
        pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <!DOCTYPE html >
    <body lang="en">
    <head>
        <meta charset="UTF-8" />
        <title>888</title>
    </head>
    <style>
        .table11_6 table {
            width:100%;
            margin:15px 0;
            border:0;
        }
        .table11_6 th {
            background-color:#96C7ED;
            color:#000000
        }
        .table11_6,.table11_6 th,.table11_6 td {
            font-size:0.95em;
            text-align:center;
            padding:4px;
            border-collapse:collapse;
        }
        .table11_6 th,.table11_6 td {
            border: 1px solid #73b4e7;
            border-width:1px 0 1px 0;
            border:2px inset #ffffff;
        }
        .table11_6 tr {
            border: 1px solid #ffffff;
        }
        .table11_6 tr:nth-child(odd){
            background-color:#dcecf9;
        }
        .table11_6 tr:nth-child(even){
            background-color:#ffffff;
        }
    </style>
    <body>
    <%
    String title=(String)request.getAttribute("title");
    String keywords=(String)request.getAttribute("keywords");
    int m=0;
    %>
      <%
             Object message = request.getAttribute("message");
             if(message!=null && !"".equals(message)){
          
        %>
           <script type="text/javascript">
                  alert("<%=request.getAttribute("message")%>");
             </script>
        <%} %>
        <th>标题<%=title%></th>&nbsp<th>关键词<%=keywords%>的查询如下</th>
    <table class=table11_6>
    <tr>
    
    </tr>
        <tr>
            <th>题目</th><th>链接</th><th>关键词</th>
        </tr>
       <c:forEach items='${c1}' var='item' varStatus='status'>
       <%m++; %>
                    <tr>
                        
                        <td><a>${item.title}</a></td>
                        <td><a href="${item.link}">原文</a></td>
                        <td>${item.keywords}</td>
            <td><a href="Servlet?method=delete&id=${item.id}"}>删除</a></td>
                    </tr>
                    
                </c:forEach>
    </table><%=m%>篇论文
    </body>
    </html>

    所需js文件

     所导jar包

  • 相关阅读:
    Jenkins参数化构建
    python笔记
    jenkins定时任务
    技巧:Vimdiff 使用
    clover如何使用UEFI引导和EFI驱动选择
    Broadcast BCM94322 用ubuntu修改ID
    MAC实现睡眠和休眠唤醒
    MAC的睡眠模式介绍
    linux 用dd命令读写引导区文件
    MAC下打开FTP服务
  • 原文地址:https://www.cnblogs.com/feng747/p/14910680.html
Copyright © 2011-2022 走看看