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

Where should struts xml be placed?

0 Answers  


Can we have multiple struts config files in a single web app?

0 Answers  


What is role of actionservlet?

0 Answers  


How can we integrate log4j in Struts2 application?

0 Answers  


Hi frnds Ima facing problm with tomcat configuration.kindly can any one tell to me what is the mistake iam doing.i already configured tomcat as fallowing http://www.ibm.com/developerworks/opensource/library/os-eclipse-tomcat/ even though iam getting the PortNO .and changed with different no of Ports but no working kindly can any one tell me what is the mistake iam doing........?

1 Answers  






How do struts work?

0 Answers  


What are interceptors in struts 2?

0 Answers  


What do you mean by tiles in struts?

0 Answers  


How can we display all validation errors to user on jsp page?

0 Answers  


What is token used for?

0 Answers  


How can link tag’s action attribute be used?

0 Answers  


What does modeldriven interceptor?

0 Answers  


Categories