Henrique VIECILI [mailto:[EMAIL PROTECTED]
> Sent: 25 May 2004 18:28
> To: Struts Users Mailing List
> Subject: Re: nl2br equivalent?
>
>
> Ok, there isn´t an 'incredibly useful nl2br' but there is a
> 'marvelous regex-based method' to do this using Java:
quot;lf", "\n"); %>
is there really no escape sequence for new line in el?
Would seem like a rather big shortfall to me!
Daniel.
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: 25 May 2004 18:17
To: Struts Users Mailing List
Subject: Re: nl2br equiva
Ok, there isn´t an 'incredibly useful nl2br' but there is a 'marvelous regex-based
method' to do this using Java:
String nl = "String with \n new line";
String br = nl.replaceAll("\n","");
or you can try using Commons Lang and cc-* taglibs.
Henrique Viecili
- Original Message -
Fr
al Message-
> From: Niall Pemberton [mailto:[EMAIL PROTECTED]
> Sent: 25 May 2004 18:17
> To: Struts Users Mailing List
> Subject: Re: nl2br equivalent?
>
>
> http://jakarta.apache.org/taglibs/doc/string-doc/index.html#replace
>
> - Original Message -
> From:
http://jakarta.apache.org/taglibs/doc/string-doc/index.html#replace
- Original Message -
From: "Daniel Perry" <[EMAIL PROTECTED]>
To: "Struts User List" <[EMAIL PROTECTED]>
Sent: Tuesday, May 25, 2004 5:50 PM
Subject: nl2br equivalent?
> I am a bit surprised, but there doesn't seem to b
5 matches
Mail list logo