
By using the below code I am able to carry the username to a JSP (single value).
----response.sendRedirect("index.jsp?uname="+username);----
But I want multiple values needs to be carried from my servlet to a JSP. How do I do that?

You can use the following code:
response.sendRedirect("/examples/jsp/index.jsp?uname="+username+"&&pass="+password);
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.