2007/5/17, David Harland <[EMAIL PROTECTED]>:

I have a jsp with a textarea whose name is body. The text contained in
body is newline then some text. The form is then posted to an action
that then writes it away to the database. If I then go back to view the
same page the newlline character has been removed. The text is being
trimmed by struts before it is displayed in the textarea.



Curious. What if the newline is in the middle of the text? does it behave
correctly?

Antonio

Reply via email to