<% java.lang.String hrefLink = "/CRUDUser.do?method=showUserProfile&userId="+userId;%> <td class="LTCell" valign="top" width="10%"> <html:link page="<%=hrefLink%>"> <bean:write name="currentVector" property="USER_NAME"/> </html:link> ----- Original Message ----- From: "Mehran Zonouzi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 17, 2003 2:49 PM Subject: What is wrong with this expression?
> Hi, > > I can not understand why the below does not function.. > > <html:link action="editcontact.do?page=editcontact&contactid=<%=contact.getID()%>"><%=c ontact.getLastName()%>, <%=contact.getFirstName()%> > </html:link> I would recommend to do this <% java.lang.String hrefLink = "editcontact.do?page=editcontact&contactid="+contact.getID() ; %> <html:link action=<%=hrefLink %> <%=contact.getLastName()%> </html:link> Create your href as a String before, and then pass this as a variable.. Vangos. > > > When the mouse is hovering over the link I get the below: > > http://servername/editcontact.do?page=editcontact&contactid=<%=contact.getID ()%> > > instead of > > http://servername/editcontact.do?page=editcontact&contactid=1234 > > what am I doing wrong? > > > > -- > > This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]