This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
No trimming is necessary and what was said about trimming made absolutely no sense to me.
You specify the size of the textarea in your html Struts tag. If the String that gets submitted is redisplayed in the same textarea (or in another textarea with the same size parameters) it will look exactly the same.
I don't understand what would make you worry about that. Were you concerned that the DB was going to lose the linebreak characters or something?