Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to take input from user in parts?

 
shahidrasul shahid
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to creae a account in database?

but problem is that i want to take input in parts (page by page)

first page-> accountId ,password ect
second-> personall info
thirld-> introducer info


how to manage these three pages
any one tell me what i do?
 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For each page inside your Action class collect data in some collection and put collection in session or request attribute between pages.Then inside final Action class create database as required.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic