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

Updating DB using Vector

 
Ramaswamy Srinivasan
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have some fields, in the JSP page, say field1, field2, field3.
So, as and when a user selects the values for these fields i wish to store it in a vector. Then i want to update the vector into the database table.

That is wait for the user to finish all his value selections and then update at last. Help in this regard is highly appreciated.

 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what do you have so far?
 
Ramaswamy Srinivasan
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Stefan,

Thanks a lot for the interest. I have a JSP, with the three dropdowns and also a bean to connect to the DB. Then i am able to fetch the data and populate the dropdowns from the DB. I have a servlet to take the data to the DB, after the user has selected and hit the Submit button.

Now, all i need is to submit the form to the same form, get the values that the user selects for the first time, into a row, second set of values into second row and so on, till he hits the Finish button.

The fields are ProjID, Activity, Resource Name, Start and end Date. For the date, I have the date picker widgets and manipulate the date using a Java Script. This is what i have. Am i clear in stating the problem?


Expecting a solution
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic