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
What is the use of struts config xml file?
What is struts xml?
What is role of actionservlet?
How does interceptor work in struts2?
Which interceptor is responsible for mapping request parameters to action class Java Bean properties?
Difference between html tags and struts specific html tags
What is use of i18n interceptor?
What are different ways to create Action classes in Struts2?
What is struts?
Explain about token feature in struts?
What is the use of token interceptor in Struts2?
What are the differences between Struts1 and Struts2 or how Struts2 is better than Struts1?
How is the action mapping specified?
Are struts thread safe?
What are pull and push mvc architecture and which architecture does struts2 follow?