| Author |
the data in form is not being displayed :
|
Ravi Seshu
Ranch Hand
Joined: Mar 19, 2005
Posts: 38
|
|
i m using struts: when i click on a link it will go to my action (Dispatch) method and loads the data from the db into my formfield of type map. then i forward my page to actionforward :"loadpage":, this is declared as shown below::: <forward name="loadPage" path="/mymodule/my followed jsp page.jsp" redirect="false" /> the action form is set to request scope ... so is there a way i can retrieve my data put in form field MAP... My action mapping : <action path="/action/mymodule/rel_path" type="com.company.subpart.module.plan.ProcessNameAction name="processNameForm" scope="request" validate="false" parameter="method"> And i set values in my action class : like this : in its method : load() loadMaps(request, form, initialLoad); -->loads data from db to my form field Maps return loadPage(mapping, form, request, null); --> load page returns to my desired page i am able to access the valuesin map in loadpage method even..but after forward(last instruction) i dont get data (null values in Maps) ...can any one helpme regarding this issue..(arch ..problem) regards, -eswar
|
 |
 |
|
|
subject: the data in form is not being displayed :
|
|
|