I have written a jsp code which links to a servlet and that links to a servlet again. The code, mahi1.jsp
Change the code in Servlet's service method.
PrintWriter out = response.getWriter(); String emailid=request.getParameter("user"); out.println("<a href=\"mahi6.jsp?emailid=" + emailid + "\">Send information to someone</a>");