Help with JSP and logic:iterate

I have some queries hope someone can help me.
I have a jsp page call request.jsp:
====================================
<%@ page import="java.util.*" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<html>
<body>
   <%@ page import="RequestData" %>
   <jsp:useBean id="RD" class="RequestData" />
   <%Iterator data = (Iterator)request.getAttribute("Data");%>
   <logic:iterate id="element" name="RD" collection="<%=data%>">
      <jsp:getProperty name="RD" property="requestID" />
      <%=element%><br>
   </logic:iterate>
</body>
</html>
And I have the RequestData.java file:
======================================
private int requestID = 1234;
public int getRequestID() { return requestID; }
The jsp page display:
======================
0 RequestData@590510
0 RequestData@5b6d00
0 RequestData@514f7f
0 RequestData@3a5a9c
0 RequestData@12d7ae
0 RequestData@e1666
Seems like the requestID is not returned. Does anybody know this?
I have done the exact one using JSP and servlets, trying to learn using JSP and custom tags. The one with JSP and servlet looks like:
============================================
<%@ page import="RequestData" %>
<%Iterator data = (Iterator)request.getAttribute("Data");
while (data.hasNext()) {
   RequestData RD = (RequestData)data.next();
   out.println(RD.getRequestID() );
}%>

Oh think I got it...
but one thing I'm not sure is...
If I use "<jsp:useBean id="RD" class="RequestData" />", do I still need "<%@ page import="RequestData" %>"?
I tried without and it gives me error...

Similar Messages

  • Help with jsp and servlets(litterature)

    I'm planning on converting a asp website to jsp and I need to figure out the following:
    1: servlet that gives out connection objects from a pool and manages "lost" connections to a mysql db
    2: a bean that has getConnection and closeConnection that is used on every jsp page.
    3: servlet/bean that can check size/dimesions/filetype on a remote url image
    4: Figure out what users are logged in at every given moment. result: x users are on, these are user1, user2, user3. automatic removal when session runs out. probably need a servlet for this.
    I got these books:
    deitel java how to program 3rd edition
    deitel advanced java 2 platform how to program
    The last book has a servlet and jsp section ut I suspect that java has evolved since then so thats why I'm asking if you have any other suggestions that offer more than 2 chapters. Its really basic the stuff i have :)
    Its been 3 years since I've touched java so i hope you guys can recomend jsp/servlet books that can answer these questions for me and help me get started with this project?
    Thanks :)

    1. apache dbcp commons library.
    http://jakarta.apache.org/commons/dbcp/
    2. tomcat DataSource, which already has the dbpc logic incorporated into it.
    http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
    3. no idea, google may help
    4. HttpSessionBindingListener. This allows you to monitor when a bean (such as a User bean) is added to the session and when it is removed from the session. This way you can track yourself which users are online.
    http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpSessionBindingListener.html

  • Help with jsp and javaBean in eclipse/Tomcat

    Hi,
    I am new to JSP and JavaBean. I am going through tutorial for a jsp page that uses a javaBean. I am using eclipse to create jsp page and the java bean.
    My eclipse project "Date" has five package as under:-
    1. Deployment Descriptor
    2. Java Resources: src
    3. build
    4. WebContent
    I have my data.jsp page in WebContent/WEB-INF/ folder. When I just run date.jsp in a browser as: http://localhost:8080/Date/date.jsp, it gets launched into the browser correctly. But when I add a JavaBean "TimeFormatterBean.java" in the Java Resources:src folder and use it in date.jsp page, I get errors as under:-
    org.apache.jasper.JasperException: Unable to compile class for JSP:
    An error occurred at line: 5 in the jsp file: /date.jsp
    TimeFormatterBean cannot be resolved to a type
    2: pageEncoding="ISO-8859-1"%>
    3: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    4:
    5: <jsp:useBean id="formatter" class="TimeFormatterBean"/>
    6:
    7: <html>
    8: <head>
    The data.jsp page is as under:-
    <jsp:useBean id="formatter" class="TimeFormatterBean"/>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
         <h1> Date JSP </h1>
         <p> The  current time is:
         <%= new java.util.Date() %>
         <jsp:getProperty name="formatter" property="name"/>
         </p>
    </body>
    </html>I can see "TimeFormatterBean.class" in build/classes folder.
    If anyone could please help me out with this, it would be very helpful
    Thanks a lot!

    You probably should place TimeFormatterBean inside a package, or maybe you could try importing it , even if it�s in the default package, with something like this <%@ page import="TimeFormatterBean" %> at the top

  • Please help with jsp and database!!

    Hello,
    i first created a jsp page and printed out the parameters of a user's username when they logged in. example, "Welcome user" and it worked fine...
    i inserted a database into my site that validates the username and password, and ever since i did that in dreamweaver, when a user logs in sucessfully, it returns the jsp page like its supposed to, only that it says "Welcome null" instead of "Welcome John." pretty strange, huh!? can anyone please help? thanks!
    here is the important part of the code to Login.jsp, and LoginSuccess.jsp: <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" %>
    <%@ include file="Connections/Login.jsp" %>
    <%
    // *** Validate request to log in to this site.
    String MM_LoginAction = request.getRequestURI();
    if (request.getQueryString() != null && request.getQueryString().length() > 0) MM_LoginAction += "?" + request.getQueryString();
    String MM_valUsername=request.getParameter("Username");
    if (MM_valUsername != null) {
      String MM_fldUserAuthorization="";
      String MM_redirectLoginSuccess="LoginSuccess.jsp";
      String MM_redirectLoginFailed="LoginFailure.jsp";
      String MM_redirectLogin=MM_redirectLoginFailed;
      Driver MM_driverUser = (Driver)Class.forName(MM_Login_DRIVER).newInstance();
      Connection MM_connUser = DriverManager.getConnection(MM_Login_STRING,MM_Login_USERNAME,MM_Login_PASSWORD);
      String MM_pSQL = "SELECT UserName, Password";
      if (!MM_fldUserAuthorization.equals("")) MM_pSQL += "," + MM_fldUserAuthorization;
      MM_pSQL += " FROM MemberInformation WHERE UserName=\'" + MM_valUsername.replace('\'', ' ') + "\' AND Password=\'" + request.getParameter("Password").toString().replace('\'', ' ') + "\'";
      PreparedStatement MM_statementUser = MM_connUser.prepareStatement(MM_pSQL);
      ResultSet MM_rsUser = MM_statementUser.executeQuery();
      boolean MM_rsUser_isNotEmpty = MM_rsUser.next();
      if (MM_rsUser_isNotEmpty) {
        // username and password match - this is a valid user
        session.putValue("MM_Username", MM_valUsername);
        if (!MM_fldUserAuthorization.equals("")) {
          session.putValue("MM_UserAuthorization", MM_rsUser.getString(MM_fldUserAuthorization).trim());
        } else {
          session.putValue("MM_UserAuthorization", "");
        if ((request.getParameter("accessdenied") != null) && false) {
          MM_redirectLoginSuccess = request.getParameter("accessdenied");
        MM_redirectLogin=MM_redirectLoginSuccess;
      MM_rsUser.close();
      MM_connUser.close();
      response.sendRedirect(response.encodeRedirectURL(MM_redirectLogin));
      return;
    %>
          <form action="<%=MM_LoginAction%>" method="get" name="Login" id="Login">
            <table width="55%" border="0">
              <tr>
                <td width="41%">Username </td>
                <td width="59%"><input name="Username" type="text" id="Username" value="" size="25" maxlength="10"></td>
              </tr>
              <tr>
                <td>Password </td>
                <td><input name="Password" type="password" id="Password" value="" size="25" maxlength="10"></td>
              </tr>
              <tr>
                <td> </td>
                <td><input type="submit" name="Submit" value="Submit"></td>
              </tr>
            </table>
          </form>And LoginSuccess.jsp where i want it to print out the "Welcome username
             <%String Name=request.getParameter("Username");
         out.println ("Welcome ");
         out.println (Name); %>

    <%@ page contentType="text/html; charset=iso-8859-1"
    language="java" import="java.sql.*" %>
    <%@ include file="Connections/Login.jsp" %>
    <%
    // *** Validate request to log in to this site.
    String MM_LoginAction = request.getRequestURI();
    if (request.getQueryString() != null &&
    request.getQueryString().length() > 0) MM_LoginAction
    += "?" + request.getQueryString();
    String
    MM_valUsername=request.getParameter("Username");
    if (MM_valUsername != null) {
    String MM_fldUserAuthorization="";
    String MM_redirectLoginSuccess="LoginSuccess.jsp";
    String MM_redirectLoginFailed="LoginFailure.jsp";
    String MM_redirectLogin=MM_redirectLoginFailed;
    Driver MM_driverUser =
    =
    (Driver)Class.forName(MM_Login_DRIVER).newInstance();
    Connection MM_connUser =
    =
    DriverManager.getConnection(MM_Login_STRING,MM_Login_US
    RNAME,MM_Login_PASSWORD);
    String MM_pSQL = "SELECT UserName, Password";
    if (!MM_fldUserAuthorization.equals("")) MM_pSQL +=
    = "," + MM_fldUserAuthorization;
    MM_pSQL += " FROM MemberInformation WHERE
    E UserName=\'" + MM_valUsername.replace('\'', ' ') +
    "\' AND Password=\'" +
    request.getParameter("Password").toString().replace('\'
    , ' ') + "\'";
    PreparedStatement MM_statementUser =
    = MM_connUser.prepareStatement(MM_pSQL);
    ResultSet MM_rsUser =
    = MM_statementUser.executeQuery();
    boolean MM_rsUser_isNotEmpty = MM_rsUser.next();
    if (MM_rsUser_isNotEmpty) {
    // username and password match - this is a valid
    lid user
    session.putValue("MM_Username", MM_valUsername);
    if (!MM_fldUserAuthorization.equals("")) {
    session.putValue("MM_UserAuthorization",
    ion",
    MM_rsUser.getString(MM_fldUserAuthorization).trim());
    } else {
    session.putValue("MM_UserAuthorization", "");
    if ((request.getParameter("accessdenied") != null)
    ll) && false) {
    MM_redirectLoginSuccess =
    ess = request.getParameter("accessdenied");
    MM_redirectLogin=MM_redirectLoginSuccess;
    MM_rsUser.close();
    MM_connUser.close();
    response.sendRedirect(response.encodeRedirectURL(MM_re
    irectLogin));
    return;
    %>
    <form action="<%=MM_LoginAction%>" method="get"
    "get" name="Login" id="Login">
    <table width="55%" border="0">
    <tr>
    <td width="41%">Username </td>
    <td width="59%"><input name="Username"
    ="Username" type="text" id="Username" value=""
    size="25" maxlength="10"></td>
    </tr>
    <tr>
    <td>Password </td>
    <td><input name="Password" type="password"
    ="password" id="Password" value="" size="25"
    maxlength="10"></td>
    </tr>
    <tr>
    <td>�</td>
    <td><input type="submit" name="Submit"
    me="Submit" value="Submit"></td>
    </tr>
    </table>
    </form>
    And LoginSuccess.jsp where i want it to print out the
    "Welcome username
             <%String Name=request.getParameter("Username");
         out.println ("Welcome ");
         out.println (Name); %>When the page is rediredted u r not passing the user name in the query string,so it is not availble in the query string for LoginSuccess page
    Since u have added user in session user this
    <%String Name=(String)session.getValue("MM_Username") ;%>
    <%     out.println ("Welcome ");
    <%      out.println (Name); %>

  • Help with jsp and frameset

    i have a dozen of asp pages which talk with MSSQL. I want to build an interactive menu with dozen of links ( probably like a tree structure with dozen nodes each pointing to these asp pages).
    1) I intend to build the menu in jsp using the tree structure available.
    My Question is when a user clicks on a node, i want the asp page to open in a frameset style, opening in a different frame.
    this is a fragment of the jsp tag:
    <ui:treeNode binding="#{Page1.treeNode1}" id="treeNode1" target="_parent" text="Tree Node 1" url="http://myserver/page1.asp">
    how do i change the target attribute so that it opens the asp page in a new frame?

    Build a page with 2 frames with one frame's name as say "left" and the other as "right". Assuming that you would want your menu jsp on the left, set the src of that frame to your menu jsp. and set the target as target="right" (name of your right frame) instead of _parent..                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Need Help with JSP and Soap

    Trying to write a JSP page that pulls information from a Soap Call. Below is the JSP page and the Soap Code. Any Help would be great:
    The soap call needs to come back with a variable in the line: <td class="detail-item-value" colspan="2"><%= request.getobject %>
    The JSP Page:
    <%@page import="java.sql.DriverManager, java.sql.Connection, java.sql.ResultSet, java.sql.Statement"%>
    <nested:define id="recordId" property="detailId" />
    <%
    //String payorId = (String) recordId;
    String payorId = "1001850";
    Set objgetobject = Server.CreateObject("soapdemo.SoapServer")
    getobject = objgetobject.GetPayorByIdRequest(payorId)
    %>
    <table id="detailTable" class="detail-outer-table">
    <tr>
    <td colspan="4"
    class=
    "detail-inner-group-header" >
    <center>Party Attributes</center></td></tr>
    <tr>
    <td colspan="2" class="detail-item-prompt">Test Field</td>
    <td class="detail-item-value" colspan="2"><%= request.getobject %>
    </td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Customer Name</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(stdName1)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">PO Box</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(poBox)" filter="false"/></td>
    </tr>
    <tr>
    <td class="detail-item-prompt">Address 1</td>
    <td class="detail-item-value"><nested:write property="detailValue(stdAddr1)" filter="false"/></td>
    <td class="detail-item-prompt">PO Box City</td>
    <td class="detail-item-value"><nested:write property="detailValue(poBoxCity)" filter="false"/></td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Address 2</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(stdAddr2)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">PO Box Region/State</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(poBoxState)" filter="false"/></td>
    </tr>
    <tr>
    <td class="detail-item-prompt">City</td>
    <td class="detail-item-value"><nested:write property="detailValue(stdCity)" filter="false"/></td>
    <td class="detail-item-prompt"> </td>
    <td class="detail-item-prompt"> </td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Region State</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(stdState)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Party ID</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(entId)" filter="false"/></td>
    </tr>
    <tr>
    <td class="detail-item-prompt">Zip Code</td>
    <td class="detail-item-value"><nested:write property="detailValue(stdZipCode)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Last Published</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(lastPublished)" filter="false"/></td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Telephone</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(phone)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Last Changed By</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(lastChangeUserName)" filter="false"/></td>
    </tr>
    <tr>
    <td colspan="4"
    class=
    <nested:equal property="isSourceItem" value="false">"detail-first-group-header"</nested:equal>
    <nested:equal property="isSourceItem" value="true">"detail-inner-group-header"</nested:equal>
    <center>Reference Data</center></td></tr>
    <tr>
    <td colspan="2" class="detail-item-prompt" bgcolor="e9eef4"><center>Dun and Bradstreet</center></td>
    <td colspan="2"class="detail-item-prompt" bgcolor="e9eef4"><center>Verispan</center></td>
    </tr>
    <tr>
    <td class="detail-item-prompt">D&B DUNS</td>
    <td class="detail-item-value"><nested:write property="detailValue(dnbDunsNumber)" filter="false"/></td>
    <td class="detail-item-prompt">SMG Business Type</td>
    <td class="detail-item-value"><nested:write property="detailValue(smgBusType)" filter="false"/></td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Trade Style</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(tradestyle)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">SMG ID</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(smgId)" filter="false"/></td>
    </tr>
    <tr>
    <td class="detail-item-prompt">Line Of Business</td>
    <td class="detail-item-value"><nested:write property="detailValue(lineOfBusiness)" filter="false"/></td>
    <td class="detail-item-prompt">HIN_ID</td>
    <td class="detail-item-value"><nested:write property="detailValue(hinId)" filter="false"/></td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Status Code</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(statusCode)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">DEA_ID</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(deaId)" filter="false"/></td>
    </tr>
    <tr>
    <td class="detail-item-prompt">Subsidiary Code</td>
    <td class="detail-item-value"><nested:write property="detailValue(subsidiaryCode)" filter="false"/></td>
    <td class="detail-item-prompt"> </td>
    <td class="detail-item-value"> </td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    <td BGcolor="e4f2f5" class="detail-item-value"> </td>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    </tr>
    <tr>
    <td class="detail-item-prompt">Domestic Ultimate DUNS</td>
    <td class="detail-item-value"><nested:write property="detailValue(dnbDomUltimateDuns)" filter="false"/></td>
    <td class="detail-item-prompt"> </td>
    <td class="detail-item-prompt"> </td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Domestic Ultimate Name</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(domUltimateBusinessName)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    </tr>
    <tr>
    <td class="detail-item-prompt"> </td>
    <td class="detail-item-value"> </td>
    <td class="detail-item-prompt"> </td>
    <td class="detail-item-prompt"> </td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Global Ultimate DUNS</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(dnbGlobalUltimateDuns)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    </tr>
    <tr>
    <td class="detail-item-prompt">Global Ultimate Name</td>
    <td class="detail-item-value"><nested:write property="detailValue(globalUltimateBusinessName)" filter="false"/></td>
    <td class="detail-item-prompt"> </td>
    <td class="detail-item-prompt"> </td>
    </tr>
    <tr><td colspan="4" class="detail-inner-group-header"><center>Database Details</center></td></tr>
    <tr><td class="detail-item-prompt">Created</td>
    <td class="detail-item-value"><nested:write property="detailValue(creationTimestamp)" filter="false"/></td>
    <td class="detail-item-prompt">Last Changed</td>
    <td class="detail-item-value"><nested:write property="detailValue(lastChangeTimestamp)" filter="false"/></td></tr>
    <!-- Future: display creation and last change username after editing is implemented -->
    <nested:equal property="isSourceItem" value="false">
    <tr><td class="detail-item-prompt">Purisma Composite Id</td>
    </nested:equal>
    <nested:equal property="isSourceItem" value="true">
    <tr><td class="detail-item-prompt">Purisma Id</td> </nested:equal>
    <td class="detail-item-value"><nested:write property="detailId" filter="false"/></td>
    <td class="detail-item-prompt"><nested:write property="detailSourceName" filter="false"/></td>
    <td class="detail-item-value"><nested:write property="detailExternalId" filter="false"/></td></tr>
    <!--
    <tr><td colspan="4" class="detail-inner-group-header"><center>Family Tree Information</center></td></tr>
    <tr><td class="detail-item-prompt">Linkage Last Changed</td>
    <td class="detail-item-value"><nested:write property="detailValue(linkageChangeTimestamp)" filter="false"/></td>
    <td class="detail-item-prompt">Linkage Last Edited</td>
    <td class="detail-item-value"><nested:write property="detailValue(linkageEditTimestamp)" filter="false"/></td>
    </tr>
    <tr><td class="detail-item-prompt">Linkage Edited by</td>
    <td class="detail-item-value"><nested:write property="detailValue(linkageEditUserName)" filter="false"/></td></tr>
    -->
    </table>
    SOAP CALL
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:purisma-pcr:CUSTOMER">
    <soapenv:Header/>
    <soapenv:Body>
    <urn:GetPayorByIdRequest urn:registryId="?" urn:sourceStartIndex="0" urn:sourcePageSize="0">
    <!--Zero or more repetitions:-->
    <fieldName>?</fieldName>
    </urn:GetPayorByIdRequest>
    </soapenv:Body>
    </soapenv:Envelope>

    Trying to write a JSP page that pulls information from a Soap Call. Below is the JSP page and the Soap Code. Any Help would be great:
    The soap call needs to come back with a variable in the line: <td class="detail-item-value" colspan="2"><%= request.getobject %>
    The JSP Page:
    <%@page import="java.sql.DriverManager, java.sql.Connection, java.sql.ResultSet, java.sql.Statement"%>
    <nested:define id="recordId" property="detailId" />
    <%
    //String payorId = (String) recordId;
    String payorId = "1001850";
    Set objgetobject = Server.CreateObject("soapdemo.SoapServer")
    getobject = objgetobject.GetPayorByIdRequest(payorId)
    %>
    <table id="detailTable" class="detail-outer-table">
    <tr>
    <td colspan="4"
    class=
    "detail-inner-group-header" >
    <center>Party Attributes</center></td></tr>
    <tr>
    <td colspan="2" class="detail-item-prompt">Test Field</td>
    <td class="detail-item-value" colspan="2"><%= request.getobject %>
    </td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Customer Name</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(stdName1)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">PO Box</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(poBox)" filter="false"/></td>
    </tr>
    <tr>
    <td class="detail-item-prompt">Address 1</td>
    <td class="detail-item-value"><nested:write property="detailValue(stdAddr1)" filter="false"/></td>
    <td class="detail-item-prompt">PO Box City</td>
    <td class="detail-item-value"><nested:write property="detailValue(poBoxCity)" filter="false"/></td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Address 2</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(stdAddr2)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">PO Box Region/State</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(poBoxState)" filter="false"/></td>
    </tr>
    <tr>
    <td class="detail-item-prompt">City</td>
    <td class="detail-item-value"><nested:write property="detailValue(stdCity)" filter="false"/></td>
    <td class="detail-item-prompt"> </td>
    <td class="detail-item-prompt"> </td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Region State</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(stdState)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Party ID</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(entId)" filter="false"/></td>
    </tr>
    <tr>
    <td class="detail-item-prompt">Zip Code</td>
    <td class="detail-item-value"><nested:write property="detailValue(stdZipCode)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Last Published</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(lastPublished)" filter="false"/></td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Telephone</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(phone)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Last Changed By</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(lastChangeUserName)" filter="false"/></td>
    </tr>
    <tr>
    <td colspan="4"
    class=
    <nested:equal property="isSourceItem" value="false">"detail-first-group-header"</nested:equal>
    <nested:equal property="isSourceItem" value="true">"detail-inner-group-header"</nested:equal>
    <center>Reference Data</center></td></tr>
    <tr>
    <td colspan="2" class="detail-item-prompt" bgcolor="e9eef4"><center>Dun and Bradstreet</center></td>
    <td colspan="2"class="detail-item-prompt" bgcolor="e9eef4"><center>Verispan</center></td>
    </tr>
    <tr>
    <td class="detail-item-prompt">D&B DUNS</td>
    <td class="detail-item-value"><nested:write property="detailValue(dnbDunsNumber)" filter="false"/></td>
    <td class="detail-item-prompt">SMG Business Type</td>
    <td class="detail-item-value"><nested:write property="detailValue(smgBusType)" filter="false"/></td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Trade Style</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(tradestyle)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">SMG ID</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(smgId)" filter="false"/></td>
    </tr>
    <tr>
    <td class="detail-item-prompt">Line Of Business</td>
    <td class="detail-item-value"><nested:write property="detailValue(lineOfBusiness)" filter="false"/></td>
    <td class="detail-item-prompt">HIN_ID</td>
    <td class="detail-item-value"><nested:write property="detailValue(hinId)" filter="false"/></td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Status Code</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(statusCode)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">DEA_ID</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(deaId)" filter="false"/></td>
    </tr>
    <tr>
    <td class="detail-item-prompt">Subsidiary Code</td>
    <td class="detail-item-value"><nested:write property="detailValue(subsidiaryCode)" filter="false"/></td>
    <td class="detail-item-prompt"> </td>
    <td class="detail-item-value"> </td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    <td BGcolor="e4f2f5" class="detail-item-value"> </td>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    </tr>
    <tr>
    <td class="detail-item-prompt">Domestic Ultimate DUNS</td>
    <td class="detail-item-value"><nested:write property="detailValue(dnbDomUltimateDuns)" filter="false"/></td>
    <td class="detail-item-prompt"> </td>
    <td class="detail-item-prompt"> </td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Domestic Ultimate Name</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(domUltimateBusinessName)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    </tr>
    <tr>
    <td class="detail-item-prompt"> </td>
    <td class="detail-item-value"> </td>
    <td class="detail-item-prompt"> </td>
    <td class="detail-item-prompt"> </td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Global Ultimate DUNS</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(dnbGlobalUltimateDuns)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    </tr>
    <tr>
    <td class="detail-item-prompt">Global Ultimate Name</td>
    <td class="detail-item-value"><nested:write property="detailValue(globalUltimateBusinessName)" filter="false"/></td>
    <td class="detail-item-prompt"> </td>
    <td class="detail-item-prompt"> </td>
    </tr>
    <tr><td colspan="4" class="detail-inner-group-header"><center>Database Details</center></td></tr>
    <tr><td class="detail-item-prompt">Created</td>
    <td class="detail-item-value"><nested:write property="detailValue(creationTimestamp)" filter="false"/></td>
    <td class="detail-item-prompt">Last Changed</td>
    <td class="detail-item-value"><nested:write property="detailValue(lastChangeTimestamp)" filter="false"/></td></tr>
    <!-- Future: display creation and last change username after editing is implemented -->
    <nested:equal property="isSourceItem" value="false">
    <tr><td class="detail-item-prompt">Purisma Composite Id</td>
    </nested:equal>
    <nested:equal property="isSourceItem" value="true">
    <tr><td class="detail-item-prompt">Purisma Id</td> </nested:equal>
    <td class="detail-item-value"><nested:write property="detailId" filter="false"/></td>
    <td class="detail-item-prompt"><nested:write property="detailSourceName" filter="false"/></td>
    <td class="detail-item-value"><nested:write property="detailExternalId" filter="false"/></td></tr>
    <!--
    <tr><td colspan="4" class="detail-inner-group-header"><center>Family Tree Information</center></td></tr>
    <tr><td class="detail-item-prompt">Linkage Last Changed</td>
    <td class="detail-item-value"><nested:write property="detailValue(linkageChangeTimestamp)" filter="false"/></td>
    <td class="detail-item-prompt">Linkage Last Edited</td>
    <td class="detail-item-value"><nested:write property="detailValue(linkageEditTimestamp)" filter="false"/></td>
    </tr>
    <tr><td class="detail-item-prompt">Linkage Edited by</td>
    <td class="detail-item-value"><nested:write property="detailValue(linkageEditUserName)" filter="false"/></td></tr>
    -->
    </table>
    SOAP CALL
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:purisma-pcr:CUSTOMER">
    <soapenv:Header/>
    <soapenv:Body>
    <urn:GetPayorByIdRequest urn:registryId="?" urn:sourceStartIndex="0" urn:sourcePageSize="0">
    <!--Zero or more repetitions:-->
    <fieldName>?</fieldName>
    </urn:GetPayorByIdRequest>
    </soapenv:Body>
    </soapenv:Envelope>

  • Help with JSP and LUCENE -

    I downloaded Lucene (apache product) and put the jar files in the /webapps/lucene/WEB-INF/lib directory. I created a simple jsp file:
    test.jsp
    <%@ page import = "org.apache.lucene.*" %>
    <%@ page import = "java.io.*" %>
    <%@ page import = "java.util.Date" %>
    Test
    <%
    Date start = new Date();
    IndexWriter writer = new IndexWriter("index", new StandardAnalyzer(), true);
    %>
    Started <%=start %>
    When pulling it up I get:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred between lines: 7 and 12 in the jsp file: /test.jsp
    Generated servlet error:
    /home/tpleasan/cots/jakarta/jakarta-tomcat-4.0.6/work/Standalone/localhost/lucene/test$jsp.java:73: Class org.apache.jsp.IndexWriter not found.
    IndexWriter writer = new IndexWriter("index", new StandardAnalyzer(), true);
    ^
    An error occurred between lines: 7 and 12 in the jsp file: /test.jsp
    Generated servlet error:
    /home/tpleasan/cots/jakarta/jakarta-tomcat-4.0.6/work/Standalone/localhost/lucene/test$jsp.java:73: Class org.apache.jsp.IndexWriter not found.
    IndexWriter writer = new IndexWriter("index", new StandardAnalyzer(), true);
    ^
    2 errors
    I don't know what is wrong. The classpath I thought was set correctly to my jar files, but that doesn't seem to work. There isn't much documention on how to use JSP with Lucene. I got the basic examples they have working, but can't seem to get it working when I create my own stuff.
    PLEASE HELP!!!!!!!!!!!!!!!!!

    Apparently I have to set the classpath EACH TIME.
    How can I program this into the jsp so I don't have to do that? I thought that it would automatically find it if it was in the correct directory.
    Also I am following the directions of lucene but it won't search correctly. Nothing gets returned in the example search. What gives???

  • Help with JSP and JSTL tag

    I am trying to accomplish the following
    -display a checkbox if the phrase "platinum" appears in a string
    -display a radio button otherwise
    Here is my code:
    <c:when test="${fn:containsEqualIgnoreCase(${product.description}, 'platinum' })}">
                      <td width="40">
                       </td>
                     <td width="1">
                        <html-el:checkbox property="dishHDProduct"             value="${product.productId}:${product.presentationChannelText}:${product.programmingType}" disabled="true"/>                                                            
                                                                  </td>
                                                             </c:when>
                                                             <c:otherwise test="${fn:containsEqualIgnoreCase("platinum")}">
                                                                  <td width="1">
                                                                       <html-el:radio property="dishHDProduct" value="${product.productId}:${product.presentationChannelText}:${product.programmingType}"/>                                                            
                                                                  </td>
                                                             </c:otherwise>I suspect that I cannot use the <when> <otherwise> stuff with the function JSTL tag, but I may be wrong. I am new to this and open to all suggestions.
    Thanks!

    This is actually the way I ended up solving my own problem:
    <c:choose>
                                                             <c:when test="${product.presentationChannelText == 'PlatinumHD'}">
                                                                  <td width="10">
                                                                  </td>
                                                                  <td width="1">
                                                                       <html-el:checkbox property="dishHDProduct" value="${product.productId}:${product.presentationChannelText}:${product.programmingType}" disabled="true"/>                                                            
                                                                  </td>
                                                             </c:when>
                                                             <c:otherwise>
                                                                  <td width="1">
                                                                       <html-el:radio property="dishHDProduct" value="${product.productId}:${product.presentationChannelText}:${product.programmingType}"/>                                                            
                                                                  </td>
                                                             </c:otherwise>
                                                        </c:choose>Because I am not able to use JSP 2.0 and therefore must use JSTL 1.0

  • Help with JSP and Servlets

    Hi,
    How would I create an editable JSP form from JDBC?
    I know how to retrieve the data from JDBC, but I'm still trying to figure out how to take that table data and format it into a tabluar format that user can make changes to it.
    Thanks,
    Tom
    Message was edited by:
    bztom_33
    Message was edited by:
    bztom_33

    CreateConnection();
    logger.info("Database connection opened in Testimonials");
    String queryText = "LOCK TABLE testimonials WRITE,posting_table WRITE";
    int numOfRows = st.executeUpdate(queryText);
    rs = st.executeQuery(SELECT_QUERY_FROM_TESTIMONIALS);
    logger.info("Query executed postingVeiw");
    String queryText1 = "UNLOCK TABLES";
    int numOfRow = st.executeUpdate(queryText1);
    while(rs.next())
    ClientData client = new ClientData();
    client.setName(rs.getString("name"));
    client.setTestimonial(rs.getString("testimonial"));
    client.setCompany(rs.getString("company"));
    clientList.add(client);
    RequestDispatcher disp = null;
    req.setAttribute("clientlist", clientList);
    String error1 = req.getParameter("");
    disp = req.getRequestDispatcher("testimonial.jsp");
    disp.forward(req,res);
    And call this arraylist from the jsp page
    Cheers
    Varun Rathore

  • Help with jsp  and drop down menu

    hi, im tryin to put a drop down menu using javascript, is the example in the page:
    http://tutorials.alsacreations.com/deroulant/
    but creator detects a error:
    The content of elements must consist of well-formed character data or markup.
    int creator and when i deply the proyect, here is the code:
    <script type="text/javascript">
    <!--
    window.onload=show;
    function show(id) {
    var d = document.getElementById(id);
         for (var i = 1; i<=10; i++) {        -------------------------------------- Here is the error -----------------
              if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}
    if (d) {d.style.display='block';}
    //-->
    </script>
    Can anybody tell me what im doing wrong?

    hi,
    Creator does not recognize (or whatever you say) characters like '<'. You can import js file which includes your script or change these characters for example put "<" instead of "<".
    regards...

  • Help with writing and retrieving data from a table field with type "LCHR"

    Hi Experts,
    I need help with writing and reading data from a database table field which has a type of "LCHR". I have given an example of the original code but don't know what to change it to in order to fix it and still read in the original data that's stored in the LCHR field.
    Basically we have two Function modules, one that saves list data to a database table and one that reads in this data. Both Function modules have an identicle table which has an array of fields from type INT4, CHAR, and type P. The INT4 field is the first one.
    Incidentally this worked in the 4.7 non-unicode system but is now dumping in the new ECC6 Unicode system.
    Thanks in advance,
    C
    SAVING THE LIST DATA TO DB
    DATA: L_WA(800).
    LOOP AT T_TAB into L_WA.
    ZDBTAB-DATALEN = STRLEN( L_WA ).
    MOVE: L_WA to ZDBTAB-RAWDATA.
    ZDBTAB-LINENUM = SY-TABIX.
    INSERT ZDBTAB.
    READING THE DATA FROM DB
    DATA: BEGIN OF T_DATA,
                 SEQNR type ZDBTAB-LINENUM,
                 DATA type ZDBTAB-RAWDATA,
               END OF T_TAB.
    Select the data.
    SELECT linenum rawdata from ZDBTAB into table T_DATA
         WHERE repid = w_repname
         AND rundate = w_rundate
         ORDER BY linenum.
    Populate calling Internal Table.
    LOOP AT T-DATA.
    APPEND T_DATA to T_TAB.
    ENDLOOP.

    Hi Anuj,
    The unicode flag is active.
    When I run our report and then to try and save the list data a dump is happening at the following point
    LOOP AT T_TAB into L_WA.
    As I say, T_TAB consists of different fields and field types whereas L_WA is CHAR 800. The dump mentions UC_OBJECTS_NOT_CONVERTIBLE
    When I try to load a saved list the dump is happening at the following point
    APPEND T_DATA-RAWDATA to T_TAB.
    T_DATA-RAWDATA is type LCHR and T_TAB consists of different fields and field types.
    In both examples the dumps mention UC_OBJECTS_NOT_CONVERTIBLE
    Regards
    C

  • Hi guys Pls tell me a way to connect db4 database with jsp and which driver

    hi guys
    Pls tell me a way to connect db4 database with jsp and
    also tell me which driver i have to use
    also tell me how to connect with excel sheets

    take a look at the follwing links. There, you'll find all what you need :
    DB4:
    http://www.oracle.com/database/berkeley-db/je/index.html
    http://www.oracle.com/technology/products/berkeley-db/je/index.html
    http://www.oracle.com/database/berkeley-db/db/index.html
    http://www.oracle.com/database/docs/berkeley-db-je-datasheet.pdf
    Excel:
    http://64.18.163.122/rgagnon/javadetails/java-0516.html
    Hope That Helps

  • Help with count and sum query

    Hi I am using oracle 10g. Trying to aggregate duplicate count records. I have so far:
    SELECT 'ST' LEDGER,
    CASE
    WHEN c.Category = 'E' THEN 'Headcount Exempt'
    ELSE 'Headcount Non-Exempt'
    END
    ACCOUNTS,
    CASE WHEN a.COMPANY = 'ZEE' THEN 'OH' ELSE 'NA' END MARKET,
    'MARCH_12' AS PERIOD,
    COUNT (a.empl_id) head_count
    FROM essbase.employee_pubinfo a
    LEFT OUTER JOIN MMS_DIST_COPY b
    ON a.cost_ctr = TRIM (b.bu)
    INNER JOIN MMS_GL_PAY_GROUPS c
    ON a.pay_group = c.group_code
    WHERE a.employee_status IN ('A', 'L', 'P', 'S')
    AND FISCAL_YEAR = '2012'
    AND FISCAL_MONTH = 'MARCH'
    GROUP BY a.company,
    b.district,
    a.cost_ctr,
    c.category,
    a.fiscal_month,
    a.fiscal_year;
    which gives me same rows with different head_counts. I am trying to combine the same rows as a total (one record). Do I use a subquery?

    Hi,
    Whenever you have a problem, please post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) from all tables involved.
    Also post the results you want from that data, and an explanation of how you get those results from that data, with specific examples.
    user610131 wrote:
    ... which gives me same rows with different head_counts.If they have different head_counts, then the rows are not the same.
    I am trying to combine the same rows as a total (one record). Do I use a subquery?Maybe. It's more likely that you need a different GROUP BY clause, since the GROUP BY clause determines how many rows of output there will be. I'll be able to say more after you post the sample data, results, and explanation.
    You may want both a sub-query and a different GROUP BY clause. For example:
    WITH    got_group_by_columns     AS
         SELECT  a.empl_id
         ,     CASE
                        WHEN  c.category = 'E'
                  THEN  'Headcount Exempt'
                        ELSE  'Headcount Non-Exempt'
                END          AS accounts
         ,       CASE
                        WHEN a.company = 'ZEE'
                        THEN 'OH'
                        ELSE 'NA'
                END          AS market
         FROM              essbase.employee_pubinfo a
         LEFT OUTER JOIN  mms_dist_copy             b  ON   a.cost_ctr     = TRIM (b.bu)
         INNER JOIN       mms_gl_pay_groups        c  ON   a.pay_group      = c.group_code
         WHERE     a.employee_status     IN ('A', 'L', 'P', 'S')
         AND        fiscal_year           = '2012'
         AND        fiscal_month          = 'MARCH'
    SELECT    'ST'               AS ledger
    ,       accounts
    ,       market
    ,       'MARCH_12'          AS period
    ,       COUNT (empl_id)       AS head_count
    FROM       got_group_by_columns
    GROUP BY  accounts
    ,            market
    ;But that's just a wild guess.
    You said you wanted "Help with count and sum". I see the COUNT, but what do you want with SUM? No doubt this will be clearer after you post the sample data and results.
    Edited by: Frank Kulash on Apr 4, 2012 5:31 PM

  • MOVED: [Athlon64] Need Help with X64 and Promise 20378

    This topic has been moved to Operating Systems.
    [Athlon64] Need Help with X64 and Promise 20378

    I'm moving this the the Administration Forum.  It seems more apporpiate there.

  • Help with Jsp: logic:iterate  Cannot create iterator for this collection

    Hello,
    I am developing a jsp with struts. This is the snap of the code:
            <logic:iterate id="prod" collection="productList" >
              <tr align="center">
                   <td><html:text property="prodDesc" size="50" indexed="true"/></td>
                   <td>
                        <html:select property="prodUnit" indexed="true">
                             <option selected>-</option>
                            <OPTION VALUE='NMB'>NMB
                             <OPTION VALUE='TEN'>TEN
                             <OPTION VALUE='TPR'>TPR
                             <OPTION VALUE='GWH'>GWH
                        </html:select>
                   </td>
                   <td><html:text property="prodQty" size="20" indexed="true"/></td>
                   <td><html:text property="prodVal" size="20" indexed="true"/></td>               
              </tr>
            </logic:iterate>"productList" is defined as an array of Product[], "prod" is defined as a single Product object in the form. But when i run the page, it gives me this errors:
    "javax.servlet.jsp.JspException: Cannot create iterator for this collection".
    I also tried to make "productList" an ArrayList type, but it game me this same error.
    We are using Websphere 4.0 with Struts 1.1.
    Anyone can help?
    Thanks a lot.
    All the best,
    warren

    Hi , I have similar problem. wonder anyone can help me. I have a datastructure. ArrayList contains list of Hashtable; each Hashtable has two key-value sets ; for each key-value set , value is a ValueObject.
    My jsp works ok. but when I click on the radio butten for one radio group, it sets not only the porperty on that row, but the rows belows ,which suppose to be another radio group , because I am using indexed="true". each row should be a individual group seperated by the name poDisplayVO[i] , as show in the html generated .
    <!-- JSP -->
    <logic:iterate id="poDisplayVO"
    name="testForm"
    property="poDisplayVOList"
    type="java.util.Hashtable">
    <tr>
    <td>
    <bean:write name="poDisplayVO" property="name"/>
    </td>
    <td>          
    <% String val = ((java.util.Hashtable)poDisplayVO).get("subjAreaName").toString();%>
    <html:radio indexed="true" name="poDisplayVO" property="fosVO.select" value="<%=val %>" />
    <bean:write name="poDisplayVO" property="subjAreaName"/>
    </td>
    <td>           
    <html:radio indexed="true" name="poDisplayVO" property="fosVO.select" value="no" /> NO
    </td>
    <td>           
    <html:radio indexed="true" name="poDisplayVO" property="fosVO.select" value="yes" /> YES
    </td>
    </tr>
    </logic:iterate>
    <! ------------------------ html genterated ------------------------------------------------>
    the HTML generated as folllows:
    <tr>
    <td>
              Accounting Studies
    </td>
    <td>          
         <input type="radio" name="poDisplayVO[0].fosVO.select" value="Accounting">
              Accounting
    </td>
    <td>           
         <input type="radio" name="poDisplayVO[0].fosVO.select" value="no"> NO
    </td>
    <td>           
         <input type="radio" name="poDisplayVO[0].fosVO.select" value="yes"> YES
    </td>
    </tr>
    <tr>
    <td>
              Accounting Studies
    </td>
    <td>          
         <input type="radio" name="poDisplayVO[1].fosVO.select" value="Bookkeeping">
              Bookkeeping
    </td>
    <td>           
         <input type="radio" name="poDisplayVO[1].fosVO.select" value="no"> NO
    </td>
    <td>           
         <input type="radio" name="poDisplayVO[1].fosVO.select" value="yes"> YES
    </td>
    </tr>
    <tr>
    <td>
              Accounting Studies
    </td>
    <td>          
         <input type="radio" name="poDisplayVO[2].fosVO.select" value="Computerized Accounting(Duplicate)">
              Computerized Accounting(Duplicate)
    </td>
    <td>           
    <input type="radio" name="poDisplayVO[2].fosVO.select" value="no"> NO
    </td>
    <td>           
    <input type="radio" name="poDisplayVO[2].fosVO.select" value="yes"> YES
    </td>
    </tr>
    <! ------------------------ action form-----------------------------------------------
    public ArrayList getPoDisplayVOList() {
         return poDisplayVOList;
    public void setPoDisplayVOList(ArrayList list) {
         poDisplayVOList = list;
    public Hashtable getPoDisplayVO(int i) {
         Object obj = poDisplayVOList.get(i);
         if (obj == null)
              obj = new Hashtable();
              poDisplayVOList.add(obj);
         return (Hashtable)poDisplayVOList.get(i);
    public void setPoDisplayVO(Hashtable programDisplayVO, int i) {
              poDisplayVOList.add(i, programDisplayVO);
         }

Maybe you are looking for

  • Opening new web page using servlet and jasper report. ?

    Hello, I am developing one small web application and implementing jasper report in it. I am using jasper report with servlet. Which is generating one pdf file and displaying in same browser. But I want to open this report in new browser. Which is onl

  • Adobe fonts not showing up in Photoshop

    HI, I am running Windows 7 and I noticed that many open type fonts that show up in the font list in Word do not appear in Photoshop CC, specifically the Adobe fonts like Adobe Fan Heiti and Adobe Gothic.  How can I get these fonts into Photoshop CC. 

  • File -- XI -- IDoc ( IDoc Status 56)

    Iam trying to post IDoc(cremas03) with File --> XI  --> Idoc Scenario. I got message processed successful in SXMB_MONI. However on ECC5.0(R/3) I got Idoc status 56. EDI: Partner profile inbound not available Message no. E0337 Diagnosis An inbound par

  • How to make a filter in a table while giving single character

    hi, i have doubt in filter how to make a filter while giving single character in a table during runtime.    if i give string like(A*) means then how it can retrive the data from the table

  • IPod used as external drive won't mount

    My 3rd generation iPod recently crashed and I restored it using the Restore in iTunes on my Intel iMac. I enabled disk mode and reloaded my playlists, iPod works fine, and mounts on my iMac, but it won't mount on my older PM G3. It does shows up in S