<%--
 Copyright : All Rights Reserved. Copyright (C) 2006, Hitachi, Ltd.
 Title     : ServerConductor WebConsole
 Version   : 08-00
 Name      : envAgt.jsp
 Date      : 2006/04/10
 Author    : Hari Krishnan.P
 --%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
<%@ page language = "java" %>
<%@ page errorPage = "errorDialog.jsp" %>
<%@ taglib prefix = "bean"  uri = "/WEB-INF/struts-bean.tld" %>
<%@ taglib prefix = "html"  uri = "/WEB-INF/struts-html.tld" %>
<%@ taglib prefix = "util"  uri = "/WEB-INF/common-tags.tld" %>
<%@ page import = 
"JP.co.Hitachi.soft.System_Manager.webconsole.common.Const" %>
<%@ page import = 
"JP.co.Hitachi.soft.System_Manager.webconsole.common.CommonUtil"%>
<%@ page contentType = "text/html; charset = UTF-8" pageEncoding = "UTF-8" %> 
<% response.addHeader("Cache-Control","no-cache"); %>							<% //800WA_WEBCONSOLE308 %>

<util:checkURL/> 

<html:html locale = "true">
    <head>
        <title>
            <%-- The product name is set from the internal properties file --%>
           <util:set name = "CommonProductName"> 
               <bean:message
                  bundle = "<%= Const.MESSAGE_RESOURCES_KEY_INTERNAL%>" 
                  key = "internal.common.product.name"/> 
          </util:set>
          <%-- The server name and the product name is displayed --%>
               <bean:message
                    bundle = "<%= Const.MESSAGE_RESOURCES_KEY_AGENT%>" 
                    key = "envagt.header.window.title"
                    arg0 = "<%=request.getParameter("agentName")%>"
                    arg1 = "<%=request.getServerName()%>" 
                    arg2 = "<%= pageContext.getAttribute("CommonProductName")
                                                              .toString() %>"/> <% //800WA_WEBCONSOLE196 %>
        </title>
         <%
             String nodeId = request.getParameter("nodeId");
             String hostName = request.getParameter("agentName");
         %>
        <util:set name = "AgentMain">
              envAgtheader?nodeId=<%=nodeId%>&hostName=<%= hostName%>
        </util:set>
     </head>                                                                    <% //800WA_WEBCONSOLE379 %>
        <%-- The Agent service setup window is splitted into a header
                                               frame and the detail frame --%>
        <%-- <frameset ROWS = "25%,75%"> --%>                                   <%-- 800WA_WEBCONSOLE361 --%> 
        <frameset rows = "30%,70%">                                             <%-- 800WA_WEBCONSOLE361 --%>
         <html:frame 
             action = "<%=pageContext.getAttribute("AgentMain").toString()%>"/>
         <html:frame href = "jsp/default.html"  frameName = "main"/>            <% //800WA_WEBCONSOLE193 %>
     </frameset >
  <%-- </head> --%>                                                             <% //800WA_WEBCONSOLE379 %>
</html:html>

