<%@ page contentType="text/html; charset=MS950" %> <%@ page errorPage="../errorpage.jsp" %> <%@ page import="com.momo.manager.SessionHandler" %> <%@ page import="com.momo.model.*" %> <% String mainOid = request.getParameter("mainOid"); String subOid = request.getParameter("subOid"); PMPMainVO[] mainList = SessionHandler.getAllPMPMain(); if (mainList.length == 0) { out.println("No any data FOUND!"); return; } int moid = mainList[0].getOid(); try { moid = (mainOid != null) ? Integer.parseInt(mainOid) : moid; } catch (Exception ex) {} int soid = 0; try { soid = (subOid != null) ? Integer.parseInt(subOid) : 0; } catch (Exception ex) {} PMPItemVO[] subList = SessionHandler.getPMPMainSub(moid); if (soid == 0 && subList.length > 0) { // NOT FOUND soid = subList[0].getOid(); } PMPItemVO item = SessionHandler.getPMPItem(soid); %> ATIVA TECHNOLOGY
 
 
 
 
 
 
 
<% int count = mainList.length; boolean chosen = false; for (int i= 0; i < mainList.length; i++) { chosen = false; if (moid == mainList[i].getOid()) chosen = true; int width = 800 / count; if (chosen) { %> <% } else { %> <% } } %>
<%=mainList[i].getName()%>
<%=mainList[i].getName()%>
<% count = subList.length; // not any record if (count == 0) { %> <% } else { %> <% for (int i= 0; i< count; i++) { chosen = false; if (soid == subList[i].getOid()) chosen = true; if (chosen) { %> <% } else { %> <% } } %>
No any data FOUND...
<%=subList[i].getName()%>
<%=subList[i].getName()%>

<% } %>
** <%=item.getName()%>
Feature

<%=item.getFeature()%>

  Spec

<%=item.getSpec()%>

© 2005 ATIVA All Right Reserved