aspose file tools*
The moose likes Struts and the fly likes Format String in Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Format String in Struts" Watch "Format String in Struts" New topic
Author

Format String in Struts

Ravi Kumar
Greenhorn

Joined: Nov 02, 2006
Posts: 1
Hi All,
How to get the format String using Struts,i setting string to bean and after display i am using <bean:write name="formname" property="comments"/>
but i want like this
if i given like this text in text area

Ravi Kumar k
bangalore aaaaa
aa3 33 3 33 333
this text i stored into DB
After displaying also i want same format .but in bean write removing all spaces are removing .
please help me.........
thank you.
regards,
ravi.
[ November 02, 2006: Message edited by: Bear Bibeault ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61756
    
  67

"Ravikkkkk Kumar",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
JavaRanch Sheriff


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Format String in Struts