Or replacing all newlines with "<BR>".
Either should work, but <BR> might look nicer.

This is not a struts issue ... just a basic
fact of how HTML works.
- Dan

> -----Original Message-----
> From: Hien Q Nguyen [mailto:[EMAIL PROTECTED]
> Sent: Saturday, January 24, 2004 4:30 PM
> To: Struts Users Mailing List
> Subject: Re: bean:write question
> 
> 
> how about wrapping your content inside the <PRE></PRE> tag?
> 
> 
> On Jan 24, 2004, at 11:37 AM, Allen Jordan wrote:
> 
> > Hello all,
> > I am trying to display a file name and the contents of the file in a
> > jsp. My formbean  object contains 2 Strings (filename and contents).
> > The problem I am having is the file contents are displayed in one
> > continues string, without line breaks. Is there anyway to do this
> > without using "iterate"?
> > Thanks all.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to