Finally found a solution using getProperty tag.
<a href="<jsp:getProperty name="shtNum" property="url"/>">
<jsp:getProperty name="shtNum" property="shtNumber"/>
</a>
----------------------------------------------------------------------------
I am new to STRUTS so I am struggling with the use of the "page or href"
attribute in the html:link statement. I don't see a need to specify an
action in the config-struts that points to an ActionClass to make the URL
available to the JSP page. I already have the URL stored in a bean and I
can see the value in the browser when my cursor is over the link. But when
I click on the link it goes to the page specified by href. I need for it to
go to the URL contained in the bean. The code listed below is what I have
so far.
I have spent a lot of time on this. Any help would be greatly appreciated.
<logic:present name="constant.docNum" scope="request">
<TABLE>
<TR>
<TD>CCS Number</TD>
<TD>State</TD>
<TD>Description</TD>
<TD>Num Ref</TD>
<TD>Type</TD>
<TD>Iss</TD>
<TD>Sht</TD>
</TR>
<logic:iterate id="ccsNum" name="constant.docNum">
<TR>
<TD><bean:write name="ccsNum" property="ccsNumber" /></TD>
<TD><bean:write name="ccsNum" property="ccsNumState" /></TD>
<TD><bean:write name="ccsNum" property="ccsNumDescr" /></TD>
<TD><bean:write name="ccsNum" property="ccsDocNumRef" /></TD>
<TD><bean:write name="ccsNum" property="ccsDocType" /></TD>
<TD><bean:write name="ccsNum" property="ccsDocIss" /></TD>
<TD>
<logic:iterate id="shtNum" name="ccsNum"
property="ccsDocSheets">
<html:link page="/GetLatestRelNum.do" paramId="url"
paramName="shtNum" paramProperty="url">
<bean:write name="shtNum" property="shtNumber" />
</html:link>
</logic:iterate>
</TD>
</TR>
</logic:iterate>
</TABLE>
</logic:present >
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]