I need to construct a table of files available for download. A file is downloaded by hitting the /download.do?jobId=2 action. The info for each row in the table is stored in an action form called retrieveJobsFormBean. This actionform contains a List of DownloadJob objects. Each of these objects is a javabean with 3 fields: jobId, numberFiles and fileSize.
I wish to put the job id value that I print out in the first division of a table row into the download link as a param. But I'm not sure how to do it. I tried the following code, but it didn't work. <tr><td>Job ID</td><td>Number of Files</td><td>File Size</td></tr> <logic:iterate id="job" name="retrieveJobsFormBean" property="jobs" scope="request"> <tr> <td><bean:write name="job" property="jobId"/></td> <td><bean:write name="job" property="numberFiles"/></td> <td><bean:write name="job" property="fileSize"/><bean:message key="retrievejob.page.defaultfilesize"/></td> <td><html:link name="job" action="downloadFile.do" paramId="jobId" paramName="retrieveJobsFormBean" paramProperty="jobId"><bean:message key="retrievejog.page.downloadlink"/></html:link></td> </tr> </logic:iterate> </table> -- http://www.quidprocode.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]