Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

tags to display return characters  RSS feed

 
AnilPrakash Raju
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
got it working.

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


Anil
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!