title: Display the string with new line with out using \n in jsp
body: <p>I have a form with a text area as one of the input fields. I want to store the user entered data. In the process I need to store the <code>\n</code> (enter key). But here the problem is in the DataBase (MySql) data is stored, but <code>\n</code> is not stored; i.e. data store as:</p>
  
  <p><img src="https://i.stack.imgur.com/UTg7p.png" alt="enter image description here">.</p>
  
  <p>When I display the same data in the browser it shows in single line.</p>
  
  <p><img src="https://i.stack.imgur.com/9ma1r.png" alt="enter image description here"></p>
  
  <p>I need to split the data with <code>\n</code> and it should look like:</p>
  
  <p><img src="https://i.stack.imgur.com/jQOIK.png" alt="enter image description here"></p>