struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Burke <mbu...@bestweb.net>
Subject href
Date Sun, 09 Feb 2003 21:03:26 GMT
I've got a jsp page that iterates through a list of web links, I can
t figure out how to use just the link without it being appended to 
http://localhost...
Here's the page in question:

<%@ taglib uri="/bean" prefix="bean" %>
<%@ taglib uri="/html" prefix="html" %>
<%@ taglib uri="/logic" prefix="logic" %>
<%@ taglib uri="/template" prefix="template" %>

<br/>
<html:errors/>
<br/>



   <table cellpadding="2" width="80%">

  <tr>
   <td>
   </td>
   <td>
  <b>Categories</b>
   </td>
   </tr>

   <logic:iterate name="allLinksList"
    id="links"
    scope="request"
    type="linkapp.entity.Links">

    <tr>
    <td>
     <a href='<bean:write name="links" property="url"/>'>
     <bean:write name="links" property="url"/></a>
    </td>
     </tr>

   </logic:iterate>

   </table>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message