aspose file tools*
The moose likes Struts and the fly likes tags to display return characters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "tags to display return characters" Watch "tags to display return characters" New topic
Author

tags to display return characters

AnilPrakash Raju
Ranch Hand

Joined: Jul 26, 2004
Posts: 137
Hi,

I need to display a text that has characters in them.
eg. I got a user to type a some text in the textarea field. He may have pressed the return keys a few types.

Once i save it and display it on another page using
<bean:write name="beanName" property="field1"/>

but this removes all the returns and displays the text in one line.

Any suggestions?

thanks

Anil
AnilPrakash Raju
Ranch Hand

Joined: Jul 26, 2004
Posts: 137
got it working.

used the <pre> tag before the <bean:write> tag


Anil
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tags to display return characters