Win a copy of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 this week in the Programmer Certification forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Resuming half filled form

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

i want to achieve this

there is a really big form so user has an option of filling it up later

while he is trying to fill it up ,data which he filled earlier should be prepopulated

only after filling it up completely it should be saved in the database

where and how to save this temporary data



 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you elaborate on the below,


" there is a really big form so user has an option of filling it up later

while he is trying to fill it up ,data which he filled earlier should be prepopulated "





How many Screens (i.e., JSP) you provide for user to enter the data ?

Is it like a WIZARD type ?

i.e., SCREEN 1 --> SCREEN 2 -->...... --> FINAL SCREEN with SUBMIT button ??

 
Govinda Gopala
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yeah exactly

there are going to be lot of JSPs

Screen1--->screen2--->screen3---->finally save button

but there will be save draft button which will save the data entered by the user
into a temp location not into Database

so that when he resumes ,data entered by him previously will be displayed
 
Ranch Hand
Posts: 485
Eclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are trying to develop wizard like functionality than there is already an interceptor in struts2 refer the link Scope Interceptor http://struts.apache.org/2.0.14/docs/scope-interceptor.html

There is now conversation plugin for Struts2 that achieve wizard style form http://code.google.com/p/struts2-conversation/
 
Govinda Gopala
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i know its bit late can you please elaborate
 
I am going down to the lab. Do NOT let anyone in. Not even this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!