• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

the data in form is not being displayed :

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
reply
    Bookmark Topic Watch Topic
  • New Topic