• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Population of Form Fields from page to page

 
Paul Duer
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay guys,
I know this is an easy on, but I just wanna check and make sure I am doing it right.
I have a page with 3 combos on it. I use an ActionForm and Class to process the values and then I return to the same page with a results table displayed.
I want to be able to carry the values in those combo boxes over from the first instance of the page to the second, where I have the results.
How do I this using correct Struts methodolgy?
 
Jason Menard
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make sure that the ActionForm is populated with the correct values for re-display. Sometimes it is appropriate to simply specify the scope of the page as session, while perhaps other times you want to populate a new ActionForm.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic