Hi all, I am Chaitanya, a newbie to
struts, I have a doubt regarding how to send data from my Action
servlet to the bean so that data is persisted to the database.
I am trying to register a new user. In this process I wrote few classes RegisterForm(form data), RegisterAction(servlet), RegisterBean(data base).
Because the servlet should not have any database code, we need to send the form data to a bean. Anyhow the execute method of RegisterAction servlet is having a ActionForm parameter. Can I send the ActionForm object to RegisterBean class or do it in someother way.
Thank you all in advance. Have a good day.