%@page import="nasinc.*, java.util.*, java.lang.*" session="true"%>
<%!
ArrayList storeList;
ArrayList OEw01List;
ArrayList tmpList;
ArrayList OEw01Names;
String prodcat;
String curr;
%>
<%
if (session.getAttribute("db_conn") == null)
{
%>
<%
}
// See if this user has already retrieve the items in the Online Store
// If so, then don't do it again.
HashMap storeItems = (HashMap)session.getAttribute("StoreItems");
if (storeItems == null)
{
String content = (String) session.getAttribute("db_conn") + "|" +
((Integer) session.getAttribute("member_id")).intValue() + "|" +
"|";
// Call the service and get the values in an ArrayList
ConnectOne connectIt = new ConnectOne(50, content, true);
ArrayList dataList = (ArrayList) connectIt.getData();
OEw01List = (ArrayList) connectIt.getData();
tmpList = (ArrayList) connectIt.getData();
TotalStore totalStore = new TotalStore();
storeItems = (HashMap) totalStore.getTotalStore();
if (storeItems.size() <= 0)
{
%>
<%
}
else
{
session.setAttribute("StoreItems", storeItems);
}
}
%>