Is it necessary to have an ActionForm in Struts framework for any web Application?

Showing Answers 1 - 5 of 5 Answers

It is mandatory to have an action form for a form submission and not required for link forward for example if we use
 <html:link action="logout"> Click here to Log out </html:link>
 its not necessary to have a form.
struts-config entry
 <action path="/logout" forward="/Logout.jsp"/>

  Was this answer useful?  Yes

It is not necessary to have ActionForm in the struts application if you are not using a form in ur html or jsp page but its is handy to have one if ur are submitting some data to the server using form.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions