📜  将数据从 servlet 发送到 hjsp - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:54.292000             🧑  作者: Mango

代码示例1
Student student = new Student();
student.setId("1");
student.setName("Hussein");
student.setAge("25");
        
request.setAttribute("student", student);
request.getRequestDispatcher("home.jsp").forward(request, response);