<% bean.setContext(request, response, application, 0x0000); %> <% bean.setRedirect("NOTLOGGEDIN", "BeanLogin.jsp"); %> <% bean.setRedirect("NOTREGISTERED", "http://www.my-cast.com/register.jsp"); %> <%@ page import="com.belo.Connected" %> <%-- Declare variables --%> <%! String tempValue ; %> <%! String currentPage = "9-Hour Forecast"; %> <%! String currentPageURL = "_BeanMycast.jsp"; %> <% Hashtable chancePrecip = new Hashtable(); chancePrecip.put("1", "none"); chancePrecip.put("2", "slight"); chancePrecip.put("3", "moderate"); chancePrecip.put("4", "likely"); chancePrecip.put("5", "high"); %> <%-- Get navigation bar --%> <%@ include file="navigation.jsp" %> <%= bean.getVal("SESSION", 0x0001) %><%= bean.getVal("SHORTFORECAST", 0x010000) %>

<%-- Sky conditions --%> <% tempValue = Connected.toTempMap(bean.getList("SHORTFORECAST", 0x0008, 0)) ; %> <% tempValue = Connected.toTempMap(bean.getList("SHORTFORECAST", 0x0008, 1)) ; %> <% tempValue = Connected.toTempMap(bean.getList("SHORTFORECAST", 0x0008, 2)) ; %> <% tempValue = Connected.toTempMap(bean.getList("SHORTFORECAST", 0x0008, 3)) ; %> <% tempValue = Connected.toTempMap(bean.getList("SHORTFORECAST", 0x0008, 4)) ; %> <% tempValue = Connected.toTempMap(bean.getList("SHORTFORECAST", 0x0008, 5)) ; %> <% tempValue = Connected.toTempMap(bean.getList("SHORTFORECAST", 0x0008, 6)) ; %> <% tempValue = Connected.toTempMap(bean.getList("SHORTFORECAST", 0x0008, 7)) ; %> <% tempValue = Connected.toTempMap(bean.getList("SHORTFORECAST", 0x0008, 8)) ; %>
<%= bean.getList("SHORTFORECAST", 0x2000, 0) %>
<%= bean.getList("SHORTFORECAST", 0x2000, 1) %>
<%= bean.getList("SHORTFORECAST", 0x2000, 2) %>
<%= bean.getList("SHORTFORECAST", 0x2000, 3) %>
<%= bean.getList("SHORTFORECAST", 0x2000, 4) %>
<%= bean.getList("SHORTFORECAST", 0x2000, 5) %>
<%= bean.getList("SHORTFORECAST", 0x2000, 6) %>
<%= bean.getList("SHORTFORECAST", 0x2000, 7) %>
<%= bean.getList("SHORTFORECAST", 0x2000, 8) %>
Weather
">
_<%= bean.getList("SHORTFORECAST", 0x0004, 0) %>.gif" width="35" height="30">
">
_<%= bean.getList("SHORTFORECAST", 0x0004, 1) %>.gif" width="35" height="30">
">
_<%= bean.getList("SHORTFORECAST", 0x0004, 2) %>.gif" width="35" height="30">
">
_<%= bean.getList("SHORTFORECAST", 0x0004, 3) %>.gif" width="35" height="30">
">
_<%= bean.getList("SHORTFORECAST", 0x0004, 4) %>.gif" width="35" height="30">
">
_<%= bean.getList("SHORTFORECAST", 0x0004, 5) %>.gif" width="35" height="30">
">
_<%= bean.getList("SHORTFORECAST", 0x0004, 6) %>.gif" width="35" height="30">
">
_<%= bean.getList("SHORTFORECAST", 0x0004, 7) %>.gif" width="35" height="30">
">
_<%= bean.getList("SHORTFORECAST", 0x0004, 8) %>.gif" width="35" height="30">
Temp °<%= bean.getVal("USERPREFS", 0x0001) %>
<%= bean.getList("SHORTFORECAST", 0x0008, 0) %>
<%= bean.getList("SHORTFORECAST", 0x0008, 1) %>
<%= bean.getList("SHORTFORECAST", 0x0008, 2) %>
<%= bean.getList("SHORTFORECAST", 0x0008, 3) %>
<%= bean.getList("SHORTFORECAST", 0x0008, 4) %>
<%= bean.getList("SHORTFORECAST", 0x0008, 5) %>
<%= bean.getList("SHORTFORECAST", 0x0008, 6) %>
<%= bean.getList("SHORTFORECAST", 0x0008, 7) %>
<%= bean.getList("SHORTFORECAST", 0x0008, 8) %>
Humidity %
Wind mph
Precipitation
<%= bean.getList("SHORTFORECAST", 0x0400, 0) %>
<%= bean.getList("SHORTFORECAST", 0x0080, 0) %>
<%= (String) chancePrecip.get(bean.getList("SHORTFORECAST", 0x040000, 0)) %>
<%= bean.getList("SHORTFORECAST", 0x0400, 1) %>
<%= bean.getList("SHORTFORECAST", 0x0080, 1) %>
<%= (String) chancePrecip.get(bean.getList("SHORTFORECAST", 0x040000, 1)) %>
<%= bean.getList("SHORTFORECAST", 0x0400, 2) %>
<%= bean.getList("SHORTFORECAST", 0x0080, 2) %>
<%= (String) chancePrecip.get(bean.getList("SHORTFORECAST", 0x040000, 2)) %>
<%= bean.getList("SHORTFORECAST", 0x0400, 3) %>
<%= bean.getList("SHORTFORECAST", 0x0080, 3) %>
<%= (String) chancePrecip.get(bean.getList("SHORTFORECAST", 0x040000, 3)) %>
<%= bean.getList("SHORTFORECAST", 0x0400, 4) %>
<%= bean.getList("SHORTFORECAST", 0x0080, 4) %>
<%= (String) chancePrecip.get(bean.getList("SHORTFORECAST", 0x040000, 4)) %>
<%= bean.getList("SHORTFORECAST", 0x0400, 5) %>
<%= bean.getList("SHORTFORECAST", 0x0080, 5) %>
<%= (String) chancePrecip.get(bean.getList("SHORTFORECAST", 0x040000, 5)) %>
<%= bean.getList("SHORTFORECAST", 0x0400, 6) %>
<%= bean.getList("SHORTFORECAST", 0x0080, 6) %>
<%= (String) chancePrecip.get(bean.getList("SHORTFORECAST", 0x040000, 6)) %>
<%= bean.getList("SHORTFORECAST", 0x0400, 7) %>
<%= bean.getList("SHORTFORECAST", 0x0080, 7) %>
<%= (String) chancePrecip.get(bean.getList("SHORTFORECAST", 0x040000, 7)) %>
<%= bean.getList("SHORTFORECAST", 0x0400, 8) %>
<%= bean.getList("SHORTFORECAST", 0x0080, 8) %>
<%= (String) chancePrecip.get(bean.getList("SHORTFORECAST", 0x040000, 8)) %>

My-Cast is based on a state-of-the-art computer model that offers personalized, hyper-local forecasts for the upcoming 9 hours. Your customized weather forecast is updated every three hours becoming even more accurate as it approaches the time of your planned event or activity.

<%= bean.getVal("SHORTFORECAST", 0x0001) %>

<% tempValue = Connected.toTempMap("0"); %> <% tempValue = Connected.toTempMap("10"); %> <% tempValue = Connected.toTempMap("20"); %> <% tempValue = Connected.toTempMap("30"); %> <% tempValue = Connected.toTempMap("40"); %> <% tempValue = Connected.toTempMap("50"); %> <% tempValue = Connected.toTempMap("60"); %> <% tempValue = Connected.toTempMap("70"); %> <% tempValue = Connected.toTempMap("80"); %> <% tempValue = Connected.toTempMap("90"); %> <% tempValue = Connected.toTempMap("100"); %>
Temp: <10102030405060708090
100+

<%-- Get bottom bar --%> <%@ include file="bottomNavigation.jsp" %>

<%= bean.getErrMsg() %>