I am facing problem with a field (<html:select property="ooCode" name="OoForm" >) .
I am setting the value of ooCode explicitly( by calling SetOoCode()) in OoAction1.And
OoAction1 forwards to OoAction2.But in OoAction2 the value of ooCode set in OoAction1
is lost.It is showing the value of ooCode from jsp.Kindly guide me ,so that 2nd Action can
get the value set in 1st action without doing any modification in second action.
probably it wont lose . whether you implement reset method in your ActionForm ?
Joined: Apr 25, 2008
yes Reset method is there.But it is not applied for that perticular field. And the field value is taking in 2nd action is from the jsp .
Is the problem is with struts-config?
Is the name of scope has any relation with that?
the defination in struts-config is given below
<forward name="success" path="/resources/jsp/roclaim/claim/policy.jsp" contextRelative="true" />
Pl let me know if anything more you need to know.