<%@ page language="java" import="java.net.*,java.util.*,java.beans.*,java.io.*,iDSS.*,iDSS.utils.*,iDSS.tidalData.*,iDSS.webBeans.*,iDSS.beans.*,iDSS.beans2.*,iDSS.grids.*,iDSS.sim.*" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
	<TITLE><%=IDSSAppConstants.programTitle%></TITLE>
<META HTTP-EQUIV="KEYWORDS" CONTENT="internet-based, DSS, decision support system, Java, Enterprise edition, J2EE">
<META HTTP-EQUIV="DESCRIPTION" CONTENT="">		


</HEAD>

<jsp:useBean id="simJBean" scope="session" class="iDSS.beans2.SimulationJBean"/>


<body>



<%

    String timeStep = String.valueOf((simJBean.getTimestepMinutes()/60));
    String simUntil = String.valueOf(simJBean.getSimulateUntil());

%>


<p>
    timeStep : <%=timeStep%>
    simUntil : <%=simUntil%>
</p>


<jsp:plugin type="applet" code="applets.VisualizationApplet.class" codebase=".."
 archive="applets.jar,idssClient.jar,idssServerPackClient.jar"
 height="600" width="800" 
 jreversion="1.3">

    <jsp:params>
        <jsp:param  name="simulationName" value="<%= simJBean.getSimulationName() %>" />
        <jsp:param  name="simStartYear" value="2000" />
        <jsp:param  name="timeStepHrs" value="<%=timeStep%>" />
        <jsp:param  name="simEndYear" value="<%=simUntil%>" />

    </jsp:params>

</jsp:plugin>


</body>

</html>



