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

I am doing the following validation. Middle newlines and newlines at the
end are preserved but newlines at the beginning are vanishing. I can see
the newline at the beginning being returned from the db and hibernate
but they disappear when displayed in the jsp.



It seems like a bug in JSP tag.
Just to be sure, see if the HTML page is created correctly: if the value
contains a newline, it could be a browser bug; it the newline is not there,
it is possibly a JSP tag bug.
Try to create a small test case (without db), just a post and display in a
text area.
If it does not work, then it's probably a bug.

Antonio

Reply via email to