I have two action class LoadAction and SaveAction. In Load action i load the page(Details are lables) and in save action i save the details. In some case i do validation at Bean and if the business doesnt allow to save i come back to my Saveaction and i want to go to LoadAction. The problem is my form bean is null in the Load action. So i put my form bean in request and in Load action i got the form from request and assigned to this form. I did the usual things as in load and fwd it to the jsp. But in Jsp i could not find any values. Its all null;
Please help me to overcome this problem.
posted 10 years ago
It does not seem correct for you to have differnet Action Classes, where you have to use the same Form bean. The very purpose of using STRUTS is lost when you have to pass the form bean in the request to another Action class.