struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ray Madigan" <>
Subject RE: html:link question (for a relative newbie)
Date Thu, 18 Sep 2003 21:09:20 GMT
If you are not opposed to using the JSTL standard library

I personally have a difficult time keeping track of the parameters
and values using the other syntax.

<c:url value='/' var='collaboratorURL'>
  <c:param name='mode' value='edit'/>
  <c:param name='code' value='${code}'/>
<html-el:link href='${collaboratorURL}'>

-----Original Message-----
From: Zimmerman, Steven R. [mailto:srzimmerman@DOC1.WA.GOV]
Sent: Thursday, September 18, 2003 1:45 PM
To: ''
Subject: html:link question (for a relative newbie)

I cannot seem to get this to work

or better yet this instead

but the <%=code%> is not picking up the value of "code", instead it is
putting "<%=code%>" in its place.  That all makes sense why, but is there a
way I can get at a expression using Struts tags like I can using the code
below with a hard coded HREF ('cuse it works fine there but is not what I
	      <A href="logon.jsp?task=delete&code=<%=code%>">Delete</A>

All else works fine, I realize that I could be chaining actions or some
other "do not do" but I am under a bit of a time crunch (as always... :).
TIA, Steve

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message