struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zsolt" <zkoppanyl...@intland.com>
Subject <html:link title=... escaping.
Date Thu, 09 Mar 2006 11:35:42 GMT
Hi,

I use struts-1.2.8 and wan't to special html patterns (for example &gt;) in
title of <html:link. Is that correct, that I have to escape those
characters?

Right now I use:

<c:set var="linkTitle">
	<c:out value="${latestNews.subject}" />
</c:set>

<html:link title="${linkTitle}" href="${link}">
	<c:out value="${subject}" />
</html:link>

Is there a better way?

Zsolt




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


Mime
View raw message