tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Serge Knystautas <ser...@lokitech.com>
Subject Re: How to enter \n into tag parameter?
Date Wed, 21 Jan 2004 13:17:01 GMT
Zsolt wrote:
> How can I use "\n" characters in tag parameters?
> 
> I mean something like <c:set var=abc" value="Hello\n end" />
> 
> Zsolt

<%
pageContext.setAttribute("lf", "\n");
%>

<c:set var="abc" value="Hello${lf} end" />

-- 
Serge Knystautas
President
Lokitech >> software . strategy . design >> http://www.lokitech.com
p. 301.656.5501
e. sergek@lokitech.com

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


Mime
View raw message