• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how we can manage multiple pages and final submission?

 
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have one big page, this page is divided into three pages,

-- first one is some fields, when we click on the next button
-- second page will be displayed, here also have some fields, fill these and click on next
--- Third page will be displayed all we selected and filled fields (combined all pages together) and say finish. then finally we need to enter data into database..


I know we can do separate applications and we can transfer data through session tracking, but it could be little bit more work.

Can you suggest me any idea to manage form fields through different pages? anything is available in struts 1 ?

Please someone help me to get rid of this.

thanks
 
Simpson Kumar
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Reply to my post please
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have a look at our FAQ, How to Ask Questions on JavaRanch, in particular, Patience is a Virtue.
I read your post hours ago, but I'm at a loss to see anything that can't be solved using a session, which you mention above. Maybe you need to Tell The Details (again, from our FAQ).
[ March 27, 2008: Message edited by: Joe Ess ]
 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you can put the data in session and finally submit all the data to database.
if you do not want to use the session, save data the temporary tables and finally save the data to actual tables.
 
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you could keep states between pages using hidden fields, compounding objects between requests and responses.
 
Simpson Kumar
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
THank you all of you,
I came to find out it
 
reply
    Bookmark Topic Watch Topic
  • New Topic