• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Vector

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I am getting users educational data from the jsp page.
He can input more than 1 educational qualification.Only after he says it is enough, I take all these data into the database.
Meanwhile,I am storing all the educational details he supplies in a vector.But when the page refreshes only the latest details are there(Suppose he had entered 2 degrees)only the latest one is visible.The rest are not there...
I tried initializing the vector size also...
What could be the problem...
Any help ASAP would be appreciated
:roll:
 
Ranch Hand
Posts: 776
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Show us some code please ......
Guy
 
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Unless you put that data into the session you will lose it when the user hits the next page. Check the tutorials on java.sun.com or in your servlet/jsp reference for more info.
 
Hari Haran
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanx,
Now when I put it in session scope.
It is working.
Hari
 
reply
    Bookmark Topic Watch Topic
  • New Topic