What is the use of reset method of ActionForm class?



What is the use of reset method of ActionForm class?..

Answer / Narendar Kumar

"The reset() method of the ActionForm class in Struts is used to clear all the values of the form's properties. This can be useful when the user needs to re-enter data, or when the form needs to be cleared after a validation error. "

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Struts Interview Questions

What is the use of reset method of ActionForm class?

1 Answers  


How can forward action be used to restrict a strut application to mvc?

1 Answers  


List the important attribute and elements of action mapping under struts.

1 Answers  


How do you find the struts version being used in a project?

1 Answers  


What is the purpose of struts.properties in struct2?

1 Answers  


Even though Servlets and JSP are web based concepts .wht is the use of using Struts using then

8 Answers   TCS,


What are the important methods of actionform?

1 Answers  


In which method of action class the business logic is executed?

1 Answers  


What is the difference between struts and spring? Explain

1 Answers  


How to explain struts work flow

12 Answers   CSS, iFlex, iGate, mpower, TCS,


What are disadvantages of Struts?

1 Answers  


Are interceptors thread safe?

1 Answers  


Categories