You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by temp temp <mi...@yahoo.com> on 2006/08/25 18:52:10 UTC

converting \n to
with bean:write tag

    I am using struts   bean tag   bean:write   .Is there any option in the tag which converts  \n character to <br>
  
  
 		
---------------------------------
 All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.

Re: Re: converting \n to
with bean:write tag

Posted by Jerome Gagner <ph...@gmail.com>.
${fn:replace(variable,"\n","<br />"} may do what you want.

On 8/25/06, Laurie Harper <la...@holoweb.net> wrote:
> temp temp wrote:
> >     I am using struts   bean tag   bean:write   .Is there any option in the tag which converts  \n character to <br>
>
> No, there isn't. What's the use case you want this for?
>
> L.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

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


Re: converting \n to
with bean:write tag

Posted by Laurie Harper <la...@holoweb.net>.
temp temp wrote:
>     I am using struts   bean tag   bean:write   .Is there any option in the tag which converts  \n character to <br>

No, there isn't. What's the use case you want this for?

L.


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