In the jsp do...

<pre><bean:write .../></pre>

Al


-----Original Message-----
From: Rutger Heijmerikx [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 24, 2005 3:06 AM
To: user@struts.apache.org
Subject: Bean linebreakes

Hello,

Does anyone has experience with linebreaks and beans?

I retreive content from a MySQL database field with linebrakes with
the rs.getString method.
Then i fill the bean with that value. When i do a System.out.println
using the getter method of the bean it does display the linebrakes of
the retreived data in the console.

Now, when doing a <bean:write within my jsp page i get the contents
also but without the linebrakes rendered.

I hope this sound fammiliar and someone can help me out here.

Thanks in advance for your effort.

Rutger

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