Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to save the form data to redisplay

 
Archana Annamaneni
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my appllication

Users enters the data on a form,I have to display that data in text form when they submit for verfication,for that i goto the action and call verifydata.jsp , and here I display the data in text form , if they want to edit any data , i want to go back to the first form with the data in it.But if i put a link click here to edit , it is initiating a new form .

How do i go about solving the problem.
 
N Nanda
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try to go through the supplied struts-example webapp with struts package. It has a good example on that.

Regards,
----------

Niranjan Nanda
 
Sheldon Fernandes
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could do one of the following:
- Make the form bean session scope so that the data is available across requests.
- Use hidden controls on the verify screen to resubmit the data (might not be feasible, depending on amount of controls)

Sheldon Fernandes
[ September 25, 2004: Message edited by: Sheldon Fernandes ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic