• 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 to save the form data to redisplay

 
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic