struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner Benjamin" <Benjamin.Tur...@cronos.be>
Subject newlines
Date Fri, 13 Feb 2004 09:03:06 GMT
hello,

i looked in the archives about this problem but couldn't find anything useable. 

i have text data which contains newlines (\n) which has been entered via textarea's. on a
different page i wish to present this data with the newlines converted to <br/>'s. i
however don't want to turn the filter="" option of bean:write off, since this would enable
possible misformatting if the user were to enter html data.

is there a clean solution to this? <pre> is also not an option since this makes for
lines being endlessly long.

tia,

Ben

---------------------------------------------------------------------
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