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

前端 未结 1 1734
梦谈多话
梦谈多话 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("Send information to someone");
    

    0 讨论(0)
提交回复
热议问题