Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

send data from servlet to hjsp

Student student = new Student();
student.setId("1");
student.setName("Hussein");
student.setAge("25");
        
request.setAttribute("student", student);
request.getRequestDispatcher("home.jsp").forward(request, response);
Source by www.programmergate.com #
 
PREVIOUS NEXT
Tagged: #send #data #servlet #hjsp
ADD COMMENT
Topic
Name
2+5 =