title: Loading a textarea without new lines
body: <p>Here is my problem : in my database, I got a VACHAR2 of length 2000. Let's call it the "commentReception".</p>
  
  <p>It is mapped to a String in my Struts bean.</p>
  
  <p>The jspx (that handles both consult and update, within the form) looks that way :</p>
  
  <pre><code>&lt;s:if test="%{consultAction}"&gt;
    &lt;s:textarea name="dto.commentReception" readonly="true" cssClass="textAreaValue readonly" /&gt;
  &lt;/s:if&gt;
  &lt;s:else&gt;
    &lt;s:textarea name="dto.commentReception" readonly="false" cssClass="textAreaValue" /&gt;
  &lt;/s:else&gt;
  </code></pre>
  
  <p>When I submit the form, the bean is filled correctly, meaning without any \r\n at the end, and I get only one line, even in the database : no newlines.</p>
  
  <p>But when I switch to consultAction, or let's say re-edit the form (not consultAction) another time, I get my string with an extra 2 newlines. That's really annoying and I don't know if it comes from Struts or from the  tag. (with me probably missing a tag attribute?)</p>
  
  <p>Of course, if I submit the form again, the comment string will be stored in the database with the newlines. So it will add two more new lines every saving of my comment...</p>
  
  <p>Do you know where my problem comes from? Thanks already.</p>
  
  <p>Edit : the generated form </p>
  
  <pre><code>&lt;textarea class="textAreaValue" id="saveControleReception_dto_commentReceiption" rows="" cols="" name="dto.commentReceiption"&gt;commentaire contrôle avant reception.
  
  &lt;/textarea&gt;
  </code></pre>
  
  <p>You can see there are some newlines, but they are not taken into account in my bean. But they are somehow when I reload it.</p>