struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zimmerman, Steven R." <srzimmer...@DOC1.WA.GOV>
Subject html:link question (for a relative newbie)
Date Thu, 18 Sep 2003 20:45:16 GMT
I cannot seem to get this to work
	<html:link
page="/collaborator.do?mode=edit&code=<%=code%>">Edit</html:link>

or better yet this instead
	<html:link
action="collaborator.do?mode=edit&code=<%=code%>">Edit</html:link>

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
want).
	      <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: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message