Hi all,
I want to ask about buffering. I'm just starting learn JSP/servlet, and now I use something like this to gather user input :
String fullName = request.getParameter("fullName");
String dateOfBirth = request.getParameter("dateOfBirth");
String townOfBirth = request.getParameter("townOfBirth");
I wonder if I can create a class -Person.java- and encapsulate full name, date of birth, and town of birth in that class. So I think, it is possible to do this :
Person person = request.getParameter("person");
It might be something like
struts's ActionForm, but in pure JSP/servlet.
Thanks before