create beans of comment, error, form

create beans of comment, error, form and initialise them in the servlet