📄 sessiontimeouttest.jsp.svn-base
字号:
<%@ page import="javax.portlet.WindowState" %><%--Licensed to the Apache Software Foundation (ASF) under one or morecontributor license agreements. See the NOTICE file distributed withthis work for additional information regarding copyright ownership.The ASF licenses this file to You under the Apache License, Version 2.0(the "License"); you may not use this file except in compliance withthe License. You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express orimplied.See the License for the specific language governing permissions andlimitations under the License.--%><%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %><%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet"%><portlet:defineObjects/><c:choose> <c:when test="${results.inQuestion}"> <%-- Generate portlet render URL: Start =============================== --%> <portlet:renderURL windowState="<%=WindowState.MAXIMIZED.toString()%>" secure='<%= renderRequest.isSecure() ? "True" : "False" %>' var="url"> <portlet:param name="maxInactiveIntervalSet" value="<%= Boolean.TRUE.toString() %>"/> <portlet:param name="testId" value='<%= renderRequest.getParameter("testId") %>'/> </portlet:renderURL> <%-- Generate portlet action URL: End ================================= --%> <table> <tr> <th colspan="2" style="background-color:blue;color:white;">MANUAL TEST</th> </tr> <tr> <th colspan="2">Session Timeout Test</th> </tr> <tr> <td> <p> This test is to validate that portlet session will expire and be invalidated by the portlet container after its max inactive interval is passed. </p> <p> This test requires manual intervention. Please wait for at least 5 seconds and click <a href="<c:out value="${url}"/>">here</a>. </p> <p> NOTE: Clicking the url above will maximize this portlet. This is required to ensure that no other portlets on the current page recreate the session we are trying to invalidate. </p> </td> </tr> </table> </c:when> <c:otherwise> <%@ include file="test_results.inc" %> </c:otherwise></c:choose><%@ include file="navigation.inc" %>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -