954,574 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

passing mulitple parameters from jsp to a database

I am using java server pages and connecting it to a simple access database.
I have a form with about four columns in it. Two of the column are already filled out and the other two need filling out. In the two empty columns there are text boxes which allows users to insert data into. There are about 16 textboxes in total on 8 rows so two text boxes on a row. I want users to fill in all of the text boxes then click submit which will then insert this data into rows into a simple access database. I am able to insert the content of the 1st row (2 textboxes) however the other textboxes are not recognised. Plz help? I have used the getParameter method and simple insert statements. Do i need some sort of loop so that all of the insert statements are read as appose to just one. Im not quite sure how to do this.

mastap
Newbie Poster
2 posts since Feb 2005
Reputation Points: 10
Solved Threads: 0
 

yes you need a loop.

jwenting
duckman
Team Colleague
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
 

im stuck? plz help...

mastap
Newbie Poster
2 posts since Feb 2005
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You