Hi Mark,

I tried this when I do a <bean:write name="masterItem" property="Number"/>

The get property has a replaceAll function in it which removes all the spaces
and replaces this with &nbsp;

I then get the following:

abcdefg123&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nb
sp;&amp;nbsp;&amp;nbsp;&amp;nbsp;006

Regards


-----Original Message-----
From: Mark Benussi [mailto:[EMAIL PROTECTED] 
Sent: 28 April 2005 11:31 AM
To: user@struts.apache.org
Subject: RE: HTML Stripping Spaces.

Hi Neil. This is what HTML does. If you really want a few spaces you will 
have to put 123&nbsp;&nbsp;&nbsp;456&nbsp;&nbsp;&nbsp;789

----Original Message Follows----
From: "Neil Meyer" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
To: "Struts Users Mailing List" <user@struts.apache.org>
Subject: HTML Stripping Spaces.
Date: Thu, 28 Apr 2005 11:25:24 +0200

Hi All,

My system needs to present a string with some text spaces and text again. 
The
browser strips all spaces to 1. Is there any struts tag to prevent this from
happening?

I have "abcdefg123          006" the browser will display this
as "abcdefg123 006"

Regards
Neil Meyer

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


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


Reply via email to