title: JSF textarea and newline, what is stored on server side?
body: <p>There is a <code>&lt;textarea&gt;</code> element on a JSF page, user inputs several lines and submits the form. What line delimiter do I expect on the server side? </p>
  
  <ul>
  <li><code>\r\n</code> in case user's OS is Windows, <code>\n</code> - when Unix</li>
  <li>line delimiter depends on OS where my JSF servlet is running</li>
  <li>line delimiter is always <code>\n</code> (Java
  internal one)</li>
  </ul>