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

Can we handle exceptions in Struts programmatically?

0 Answers  


What is the actionform?

0 Answers  


can anybody tell.what is the difference between Forward Action and Action Forward?

2 Answers   Polaris, TCS,


How can we group related actions in one group in Struts?

0 Answers  


What is the purpose of action tag in struts.xml?

0 Answers  


Is struts 1 still supported?

0 Answers  


What are the reasons for an error message not being displayed while developing struts application?

0 Answers  


What is the difference in using Action interface and ActionSupport class for our action classes, which one you would prefer?

0 Answers  


advantages& 5 disadvantages of MVC architecture

6 Answers   Satyam, TCS,


What is Hibernate?

4 Answers  


What is the forward action utilized for?

0 Answers  


explain method overridding method overloding with examples?

5 Answers   IBM,


Categories