<%@ page info="Show your image data or generate your JPEG image." %> <%@ page import="WebFlow.*" %> <%@ page import="WebFlow.ContextManager.*" %> <%@ page import="java.util.*" %> <%@ page errorPage="/Generic/Error.jsp" %> <% //String userName=storeInfo.getTableVal("userName"); String problemName=storeInfo.getTableVal("problemName"); String sessionName=request.getParameter("sessionName"); storeInfo.setTablePair("sessionName",sessionName); String submitparam = request.getParameter("submit"); String archiveType = storeInfo.getTableVal("archiveType"); //System.out.println("ArchiveType: "+archiveType); ContextManager cm = null; if(archiveType.equals("masterProblemname")) { cm=modserver.getContextManager(); } else { cm=modserver.getContextManagerForSlave(); } //System.out.println("problem name: "+problemName); //System.out.println("session name: "+sessionName); cm.selectSession(problemName,sessionName); %> Job Script Review <% if(submitparam.equals("View Data")) { %>

Code Selection for the visualization

Please provide the following information needed to visualize.

  • Machine Name: <% String tmp2; String code1 = cm.getCurrentSessionProperty("machineName"); //System.out.println("code1: "+code1); Vector appNames=parseXML.getApplications(); %> <%= code1 %>

  • The Visualization Toolkit <% Vector viznames = parseXML.getVizNameList(cm.getCurrentSessionProperty("codeName"),code1); int vsize = viznames.size(); if(vsize != 0) { for(int j1=0;j1
    > <%= tmp2 %> <% } %>

  • Data Files:
    <% String suplimit3 = cm.getCurrentSessionProperty("NumberOfOutFiles"); String outputpathList1 = null; if(!suplimit3.equals("0")) { int uplimit3=Integer.parseInt(suplimit3); outputpathList1 = cm.getCurrentSessionProperty("outputFiles"); StringTokenizer st2 = new StringTokenizer(outputpathList1,"+"); for(int j=0;j Data File:
    <% } } %>

  • Output File for the visualization:
    Output File:

      

  • <% } else { %>

    You don't have any visualization tool kit with that machine, <%= code1 %>.

    <% } } else { String jpegimage = cm.getCurrentSessionProperty("JPEGimage"); System.out.println("jpegimage:"+jpegimage); String jpegimage1 = jpegimage.trim(); if(jpegimage1.equals(new String())) { %>

    You don't have image data at this session.

    <% } else { %>

    The Image data for that session

    That session has the image data as follows:

  • Image Files:
    <% String token1 = null; String token2 = cm.getCurrentSessionProperty("Directory")+"/"; String token3 = null; StringTokenizer st = new StringTokenizer(jpegimage,"+"); while(st.hasMoreTokens()) { token1 = st.nextToken(); token3 = token2+token1; %> <%= token1 %>
    <% } %>
    Non-collaboration Collaboration

      

  • <% } } %>