How data transfered from one formbean to another formbean?
Answers were Sorted based on User's Feedback
Answer / rakhi
sorry i did not get u. can u please explain once?
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / venkat
hello
ravi
tell me clearly
u explained is struts flow,i think
Is This Answer Correct ? | 1 Yes | 0 No |
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 |
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 |
Where should struts xml be placed?
Can we have multiple struts config files in a single web app?
What is role of actionservlet?
How can we integrate log4j in Struts2 application?
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........?
How do struts work?
What are interceptors in struts 2?
What do you mean by tiles in struts?
How can we display all validation errors to user on jsp page?
What is token used for?
How can link tag’s action attribute be used?
What does modeldriven interceptor?