How data transfered from one formbean to another formbean?

Answer Posted / madhukiran`

first copy the form properties into one bean class and then
copy those to the required form in Action class
BeanUtils.copyProperties(Bean,frm1);
BeanUtils.copyProperties(frm2,Bean);

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about struts dispatch action?

642


What are different ways to create Action classes in Struts2?

674


What are action errors?

646


What is the significance of logic tags in Struts?

676


When do I need “struts.jar” on my classpath?

644






What does validation interceptor?

638


What does modeldriven interceptor?

670


What is ValueStack and OGNL?

648


Whats the difference between the default namespace and the root namespace?

599


What are the core classes of the struts framework?

595


What is the actionform?

659


Can we have multiple struts config files ?

604


What helpers in the form of jsp pages are provided in struts framework?

626


If the framework doesn’t do what I want, can I request that a feature be added?

581


Which library is provided by struts for form elements like check boxes, text boxes etc?

597