How data transfered from one formbean to another formbean?

Answers were Sorted based on User's Feedback



How data transfered from one formbean to another formbean?..

Answer / rakhi

sorry i did not get u. can u please explain once?

Is This Answer Correct ?    1 Yes 0 No

How data transfered from one formbean to another formbean?..

Answer / venkat

hello
ravi

tell me clearly

u explained is struts flow,i think

Is This Answer Correct ?    1 Yes 0 No

How data transfered from one formbean to another formbean?..

Answer / 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

How data transfered from one formbean to another formbean?..

Answer / ravi

1)first form
public class M extends ActionForm
{
//some code//
}
2)second form bean

public class Maction extends Action
{
//sme code//

M o=(M)form;//calling the first formbean to second form bean
}

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More Struts Interview Questions

What is the use of resourcebundle.properties file in Struts Validation framework?

0 Answers  


Describe the two types of formbeans.

0 Answers  


How does one create an action in struts 2?

0 Answers  


What is Hibernate?

4 Answers  


How can duplicate form submission be handled in struts 2?

0 Answers  






What is the purpose of interceptors?

0 Answers  


What kind of mvc is struts 2?

0 Answers  


Explain the necessity of empty tag?

0 Answers  


Can i use constructor in Action Class?If yes how?

8 Answers  


Are interceptors thread safe?

0 Answers  


What is interceptor in Struts2?

0 Answers  


How do u provide security to ur project?(Banking domain project)

0 Answers   Polaris,


Categories