No way to do this with purely Struts tags? Thanks
Rob Breeds "Siggelkow, Bill" <bill.siggelkow@m To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> irant.com> cc: Subject: RE: html:link href to external URL in a 05/12/2001 16:17 Please respond to "Struts Users Mailing List" You can do this by just coding the link in with an HTML anchor tag as folows: <a href="<bean:write name="abcd" property ="xyz"/>"> <bean:write name="abcd" property="xyz"/> </a> or use an expression <html:link href="<%=abcd.getXyz()%>"> <bean:write name="abcd" property="xyz"/> </html:link> -----Original Message----- From: Rob Breeds [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 11:03 AM To: Struts Users Mailing List Subject: html:link href to external URL in a Hi This may be in the FAQ/archive but I can't find it! If I have a dynamically generated external URL available in the request/session object, e.g. "http://www.banana.com", how do I write a <html:link href> tag such that the link takes the user to that external URL? (Without using scriptlets?) I effectively want to do: <html:link href="<bean:write name="abcd" property ="xyz"/>"> <bean:write name="abcd" property="xyz"/> </html:link> but can't do nested tags. How do I dynamically populate the content of the href attribute? Help please! Thanks Rob Breeds -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: < mailto:[EMAIL PROTECTED]> For additional commands, e-mail: < mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>