 <%-- 
 Copyright : All Rights Reserved. Copyright (C) 2006, Hitachi, Ltd. 
 Title     : ServerConductor WebConsole 
 Version   : 08-00 
 Name      : machineAdd.jsp 
 Date      : 2006/04/11 
 Author    : John Paulose 
 --%> 

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 

<%@ page errorPage = "errorDialog.jsp"%>
<%@ page language = "java"%> 
<%@ page contentType = "text/html; charset = UTF-8" pageEncoding = "UTF-8" %>
<%@ page import = "JP.co.Hitachi.soft.System_Manager.webconsole.common.Const" %> 
<%@ 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" %>
<% response.addHeader("Cache-Control","no-cache"); %>
<util:checkURL/>

<%-- <!-- Get data from the InternalProperties file and set it into the pageContext 
implicit object as an attribute" --> --%>                                       <%-- 800WA_WEBCONSOLE300 --%>
<util:set name = "InternalCommonProductName">
	<bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_INTERNAL%>" 
	key = "internal.common.product.name"/>
</util:set>

<%-- <!-- Set the machineAddHeader jsp page into the pageContext
     implicit object as an attribute" --> --%>                                  <%-- 800WA_WEBCONSOLE300 --%>
<util:set name = "MachineAddHeader">
	machineAddHeader
</util:set>

<%-- <!-- Set the machineAddMain jsp page into the pageContext
     implicit object as an attribute" --> --%>                                  <%-- 800WA_WEBCONSOLE300 --%>
<util:set name = "MachineAddMain">
	machineAddMain
</util:set>

<%
	String l_stServerName = request.getServerName();
%>

<html:html locale = "true"> 
	<head> 
	<script src= "js/common.js"></script>
		<title>
			<bean:message bundle = "<%= Const.MESSAGE_RESOURCES_KEY_GROUP%>" 
			key = "group.add.machine.header.window.title" 
			arg0 = "<%= l_stServerName %>" 
			arg1 = "<%= 
			    pageContext.getAttribute("InternalCommonProductName").toString()
			 %>"  />
		</title> 
	</head> 
	
	<frameset rows = "15%,85%">
		<html:frame action = 
			  '<%= pageContext.getAttribute("MachineAddHeader").toString() %>'/>
		<html:frame action = 
		        '<%= pageContext.getAttribute("MachineAddMain").toString() %>'/>
	</frameset>
</html:html>
