i have 2 model class
public class Abcd {
private String name;
private String familyName;
// getters and setters
}
public class Bcd {
private String color;
// getters and setters
}
i want that 1st jsp page takes input for Abcd, and then pass it to 2nd jsp page, where i also take input for the BCD class and then i show both objects input data to the 3rd page
please suggest the way to do this
You could put the
Abcd‘snameandfamilyin hidden fields on the second page. The action calling the third page would be able to access toAbcd‘s andBcd‘s attributes and show them in the third JSP.