linking jsp to servlet and that to servlet again shows some problems

前端 未结 1 1712
梦谈多话
梦谈多话 2021-01-28 03:48

I have written a jsp code which links to a servlet and that links to a servlet again. The code, mahi1.jsp

相关标签:
1条回答
  • 2021-01-28 04:06

    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>");
    
    0 讨论(0)
提交回复
热议问题