<%@ page import="java.security.Principal, java.util.Map, java.util.Collection, java.util.Iterator"%> <%@ page contentType="text/html;charset=UTF-8" language="java"%> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>

<% Map activeInstances = (Map)request.getAttribute("activeInstances"); if(activeInstances==null || activeInstances.size()==0) { %> <% } else { Collection activeInstanceIds = activeInstances.keySet(); for (Iterator it = activeInstanceIds.iterator(); it.hasNext();) { Long actInstId = (Long) it.next(); %>
<%=actInstId%> Audit   Terminate
<% Map instProp = (Map) activeInstances.get(actInstId); Collection propNames = instProp.keySet(); for (Iterator it1 = propNames.iterator(); it1.hasNext();) { String propName = (String) it1.next(); String propValue = (String) instProp.get(propName); %> <% } %>
<%=propName%> <%=propValue%>
<% } } %>

<% Map terminatedInstances = (Map)request.getAttribute("terminatedInstances"); if(terminatedInstances==null || terminatedInstances.size()==0) { %> <% } else { Collection terminatedInstanceIds = terminatedInstances.keySet(); for (Iterator it = terminatedInstanceIds.iterator(); it.hasNext();) { Long termInstId = (Long) it.next(); %>
<%=termInstId%> Audit   Delete
<% Map instProp = (Map) terminatedInstances.get(termInstId); Collection propNames = instProp.keySet(); for (Iterator it1 = propNames.iterator(); it1.hasNext();) { String propName = (String) it1.next(); String propValue = (String) instProp.get(propName); %> <% } %>
<%=propName%> <%=propValue%>
<% } } %>

Event Log

<%=(String)request.getAttribute("eventLog")%>