PRJ301_-_FA_2024_-_RE_3071.webp
K

PRJ301_-_FA_2024_-_RE_3071.webp

C. public class RecordServlet extends HttpServlet
{
protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
PrintWriter pw=res.getWriter();res.setContentType("text/html");String account-req.getParameter("txtname1");String Addr=req.getParameter("txtadd1");pw.println("Hello" + account + "from" + Addr);pw.close();
}
}
D. public class RecordServlet extends HttpServlet
{ protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
{
PrintWriter pw=res.getWriter();res.setContentType("text/html");String account-req.getParameter("txtname2");String Addr=req.getParameter("txtadd2");pw.println("Hello" + account + "from" + Addr);pw.close();

}

Thông tin

Category
PRJ301
Thêm bởi
Kusakabe2002
Ngày thêm
Lượt xem
13,034
Lượt bình luận
25
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom