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 |
How does struts work?
What is the difference in using Action interface and ActionSupport class for our action classes, which one you would prefer?
If we close the browser,when the specific user session is active.Again if we open browse how to retrive it same user??what code i have to da???
What are the life cycle methods of interceptor?
What is actioncontext?
why do we use logic tag library in struts?
What does action do in struts?
What is the purpose of @expressionvalidator annotation?
Can we have multiple struts config files in a single web app?
Why we use struts in java?
Why are frameworks used?
In which method of action class the business logic is executed?