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

Which design pattern the interceptors in struts2 is based on?

482


What do you mean by inner class and anonymous class?

584


What are the differences between http direct and http indirect?

462


What is package name in struts xml?

545


How do struts work?

510






How is token generated?

525


How many struts config file in a struts application?

514


Can you explain aware interfaces in struts2?

580


What is the purpose of form-be tag in struct-config.xml?

552


What are the steps involved in creating a strut application?

502


What are the features of struts?

565


What is struts validator framework?

541


Is Struts Framework part of J2EE?

607


How can we write our own interceptor and map it for action?

558


What is controller in struts2?

491