queryhistory.jsp

来自「Lambda Probe(Tomcat Probe)是一个基于Web以实时的方式」· JSP 代码 · 共 37 行

JSP
37
字号
<%-- * Licensed under the GPL License. You may not use this file except in compliance with the License. * You may obtain a copy of the License at * *      http://probe.jstripe.com/d/license.shtml * * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. --%><%@ page contentType="text/html;charset=UTF-8" language="java" session="false" %><%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %><%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %><%--    An Ajax HTML snippet to display a history of executed SQL queries.    Author: Andy Shapoval--%><c:choose>    <c:when test="${! empty queryHistory}">        <ul>            <c:forEach var="sql" items="${queryHistory}" varStatus="id">                <li>                    <a href="<c:url value="/sql/queryHistoryItem.ajax?sqlId=${id.index}"/>" onClick="getQueryHistoryItem(this); return false;">                        <div><spring:escapeBody htmlEscape="true" javaScriptEscape="false">${sql}</spring:escapeBody></div>                    </a>                </li>            </c:forEach>        </ul>    </c:when>    <c:otherwise>        <div id="historyEmpty"><spring:message code="probe.jsp.dataSourceTest.queryHistory.empty"/></div>    </c:otherwise></c:choose>

⌨️ 快捷键说明

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