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?