title: Sending multiple values from servlet to jsp
body: <p>I have a servlet code where I check for username and password in a helper class and after checking it comes back to servlet and lists users. The username along with the list of users must be displayed in the jsp. How to send both the values? Here is the code which I have tried. It displays nothing
  String outp=t.Welcome(name, pwd);</p>
  
  <pre><code>String Users=t.List_Of_Users();
  String User[]=Users.trim().split(" ");
  request.setAttribute("name", User);
  response.sendRedirect("Welcome_User.jsp?Users="+User+"&amp;outp="+outp);
  </code></pre>