Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Jsp problem

  Asked By: Phil    Date: Mar 28    Category: Java    Views: 615
  

i have problems in jsp,

there are 5 row text boxes for each row there are 10 text boxes,to
store the 50 text boxes values into database,how to store into
database backend is mysql, i have developed pages in jsp,could u
maild me the solutions and also how to generate the 10 text boxes at
a time on single click,how to store this dynamic info info database

Share: 

 

3 Answers Found

 
Answer #1    Answered By: Vivian Ruiz     Answered On: Mar 28

It would be great if you able to give concise details about ur data
staructure,...

 
Answer #2    Answered By: Harold Graham     Answered On: Mar 28

First
Create an array of rows.
The matrix below will help I guess in naming the textboxes.
TXTXXX1 TXTYYY1 TXTZZZ1 TXTSSS1 TXTWWW1
TXTXXX2 TXTYYY2 TXTZZZ2 TXTSSS2 TXTWWW2
TXTXXX3 TXTYYY3 TXTZZZ3 TXTSSS3 TXTWWW3
TXTXXX4 TXTYYY4 TXTZZZ4 TXTSSS4 TXTWWW4
TXTXXX5 TXTYYY5 TXTZZZ5 TXTSSS5 TXTWWW5
you can run it in a loop with names appended to an integer which gets
incremented with each row  getting printed. that way you will get these
unique names.
The same way as you print you can extract the values  also.

 
Answer #3    Answered By: Giovanna Silva     Answered On: Mar 28

First of all you have to declare two variables .
first variable contains the integer value that value will increment
automatically.
second variable contains the character value. after that you have to handle the
every stage of that value . For this you have to create separate class to handle
this variables

 
Didn't find what you were looking for? Find more on Jsp problem Or get search suggestion and latest updates.




Tagged: