what is is the use DynaActionForm?

Answers were Sorted based on User's Feedback



what is is the use DynaActionForm?..

Answer / nishant

By Using Dyna action forms, we dont need to specify the
setter getter methods in the form bean. The attribute for
the form are specified in the xml file in the form bean tag
itself. In the action class, the form is typecast into the
dynaactionform and the properties can be used in the old
way. This eliminates the addition work to modify the setter
and getter for the attributes when the form properties are
being changed.

Is This Answer Correct ?    10 Yes 0 No

what is is the use DynaActionForm?..

Answer / rosaiah

no need to write seperate form bean class here.directly we enter attributes in struts-config.xml file.objects are decreased .so burden on server decreased as well as if u changes any attributes no need to compile classes.just change in struts-config.xml file is changed and restart the server.
it is very good approach to java programmers......

Is This Answer Correct ?    3 Yes 0 No

what is is the use DynaActionForm?..

Answer / srikanth addani

The main advantage of using DynaActionForm we need to take setters and getters.just we have to override execute() which returns ActionErrors.In this execute() we can perform validations.setters and getters should be configured in struts-config file by using a tag called
<form-beans name="">
<form-bean name="" property=""/>
</form-beans>
Thanks&Regards
Srikanth addani
85890555214.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Struts Interview Questions

How duplicate form submission can be controlled in struts?

0 Answers  


1.when actionservelet execute. 2.when web.xml executes

3 Answers  


What are action errors and error?

0 Answers  


how to connect from struts to database through hibernet and where u can modify the class

0 Answers   Polaris,


What is controller in struts ?

0 Answers  






Can we handle exceptions in Struts programmatically?

0 Answers  


What do you mean by the abstract package in struts2, and what is its utilization?

0 Answers  


Explain the necessity of empty tag?

0 Answers  


i have 500 jsps in my application,and i have same forward name for each jsp,so it lokks in strutsconfig.xml,from 1 to 500,but i want send 498 page directly,how can i cingigure my application

2 Answers   TCS,


How many servlet controllers are used in a Struts Application?

0 Answers  


What is the use of interceptor?

0 Answers  


What is the purpose of @keyproperty annotation annotation?

0 Answers  


Categories