You need to replace newlines with <br>s:

workString.replaceAll("\n", "\n<br>");

Paul

-----Original Message-----
From: Mohamed Abu Zur [mailto:[EMAIL PROTECTED]
Sent: 07 November 2003 11:12
To: [EMAIL PROTECTED]
Subject: Line break and <bean:write



Hi all:

 

 

I insert a text with various line breaks , paragrapgs etc in the database.
When i get the text back to show in the html page I do it with <bean:write
tag.

 

The text mantain its format (line breaks, return carriage, end of line, etc)
when I show it in a text area to be modified, But when I show it in an html
page as text it does not appear with the line breaks, return carriage, etc.
What shal I do to make the text appear as have been edited?

 

 

Thank you in advance



---------------------------------
Yahoo! Messenger
Nueva versi&oacute;n: Super Webcam, voz, caritas animadas, y m&aacute;s
#161;Gratis!


**************************************
Axios Email Confidentiality Footer
Privileged/Confidential Information may be contained in this message. If you are not 
the addressee indicated in this message (or responsible for delivery of the message to 
such person), you may not copy or deliver this message to anyone. In such case, you 
should destroy this message, and notify us immediately. If you or your employer does 
not consent to Internet email messages of this kind, please advise us immediately. 
Opinions, conclusions and other information expressed in this message are not given or 
endorsed by my Company or employer unless otherwise indicated by an authorised 
representative independent of this message.
WARNING:
While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted 
via electronic mail attachments we cannot guarantee that attachments do not contain 
computer virus code.  You are therefore strongly advised to undertake anti virus 
checks prior to accessing the attachment to this electronic mail.  Axios Systems Ltd 
grants no warranties regarding performance use or quality of any attachment and 
undertakes no liability for loss or damage howsoever caused.


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

Reply via email to