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

how to create a search field in struts.with code

3 Answers   Infosys, Satyam,


How do you find the struts version being used in a project?

0 Answers  


What is actionmapping?

0 Answers  


What is the purpose of @requiredstringvalidator?

0 Answers  


What is action support class in struts2?

0 Answers  






What is the DynaActionForm? How we implement the dynaactionform ? can u please tell me the way to implement? in understandable way?

8 Answers   JBA Infotech,


How to add ms-word file in struts at the same time how to add images

1 Answers  


Why are frameworks used?

0 Answers  


What is the difference between struts and spring?

0 Answers  


What is includeaction?

0 Answers  


What is the difference between shocks and struts?

0 Answers  


What is the purpose of @element?

0 Answers  


Categories