title: Printing values one by one in jsp
body: <p>I use a servlet to get values from database and I want to print that in jsp. My problem is the values are printed like usera userb userc. I want the output to be like</p>
  
  <pre><code>usera 
  userb
  userc
  </code></pre>
  
  <p>Please help me to do this. Here is what i have tried</p>
  
  <pre><code>&lt;%
  String Users=request.getParameter("Users");
  String User[]=Users.trim().split(" ");
  for(int i=0;i&lt;User.length;i++){
      out.println(User[i]);
  }
  %&gt;
  </code></pre>