%-- CSA.jsp: Oracle EM Client System Analyzer JSP --%>
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ page import = "java.io.*" %>
<%@ page import = "java.net.*" %>
<%@ page import = "java.util.Vector" %>
<%@ page import = "java.util.Enumeration" %>
<%-- TEST ONLY imports ... --%>
<%@ page import = "java.util.Date" %>
<%@ page import = "java.text.SimpleDateFormat" %>
<%@ page import = "java.util.HashMap" %>
<%@ page import = "java.util.Enumeration" %>
<%
// TBD???: Specify no caching of JSP page ...
long renderStartTime = System.currentTimeMillis();
tagGenerator.init(application, request, response);
if(!tagGenerator.isIPAddressAllowed())
{
response.sendError(response.SC_UNAUTHORIZED, "The client's IP address" +
" is in a range that has been excluded by the administrator");
}
else
{
response.setHeader("Pragma", "No-cache");
response.setHeader("Cache-Control", "no-cache");
response.setDateHeader("Expires", 1);
%>
<%
if(tagGenerator.getShowDestURL().equals(Boolean.TRUE)) {
%>
<%= tagGenerator.getDestURLText() %>
<%
}
int uiMode = tagGenerator.getUIMode();
if(uiMode > 0)
{
long timeout = 0;
if(uiMode == 1)
{
timeout = tagGenerator.getVisibleTimeout();
}
else
{
timeout = tagGenerator.getInvisibleTimeout();
}
if(timeout > 0)
{
%>
<%
}
}
%>
<%
}//end else IP address allowed
%>