Results 1 to 2 of 2
  1. #1
    sgoyal is offline Member
    Join Date
    Sep 2009
    Posts
    2
    Rep Power
    0

    Unhappy Struts: pass data to other form

    Hi All,

    im new in struts.
    I hv designed one search page, from where data is populating in the Map object and is rendered in table.

    Now i want to select particulatr row (either by hiperlink of Id field/ attach radio button and submit the form for that id) and display all the related info in the next page.

    how to do that.

    my code is

    JSP file:

    <logic:present name="SearchDRRequestForm" property="result">

    <hr width="100%" size="1" noshade="true">

    <bean:size id="size" name="SearchDRRequestForm" property="result"/>

    <logic:equal name="size" value="0">
    <center><font color="red"><b>Sorry, no data found</b></font></center>
    </logic:equal>

    <logic:greaterThan name="size" value="0">

    <table border="1">
    <tr>

    <th>Request No</th>
    <th>Status</th>
    <th>Request Raised On</th>
    <th>DR Activity Time</th>
    </tr>

    <logic:iterate id="requestno" name="result" scope="request" >
    <bean:define id="reqno" name="requestno" property="key"/>

    <bean:define id="myrow" name="requestno" property="value"/>

    <tr>

    <html:link what to do>
    <td><bean:write name="myrow" property="requestno"/></td>
    </html:link>

    <td><bean:write name="myrow" property="status"/></td>
    <td><bean:write name="myrow" property="requestraisedon"/></td>
    <td><bean:write name="myrow" property="activitytime"/></td>
    </tr>

    </logic:iterate>
    </table>
    </logic:greaterThan>
    </table>

    </logic:present>


    pls help

    rehards,
    sunny

  2. #2
    sgoyal is offline Member
    Join Date
    Sep 2009
    Posts
    2
    Rep Power
    0

    Default pls help

    pls help in the below queston...

    its very urgent

    rgds
    sunny

Similar Threads

  1. Replies: 10
    Last Post: 08-12-2009, 05:02 PM
  2. Form validation in struts
    By rekha in forum Web Frameworks
    Replies: 2
    Last Post: 03-19-2009, 09:55 AM
  3. enctype=multipart/form-data with form data in struts
    By vk_satheesh in forum New To Java
    Replies: 0
    Last Post: 09-19-2008, 01:48 PM
  4. How to pass two parameter in struts-config using dynaActionForm
    By 82rathi.angara in forum Web Frameworks
    Replies: 2
    Last Post: 06-10-2008, 03:43 PM
  5. Cannot pass the correct property value to a form
    By piterskiy74 in forum Web Frameworks
    Replies: 0
    Last Post: 12-11-2007, 04:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •