Forums Register Login

How to display values in my form if I have two textboxes of same name...

+Pie Number of slices to send: Send

Now how do I save the values of the input elements here
In my case i have two text boxes with the same name
how do I display the values entered in this form once again as a table.
Help me please I am novice programmer..
+Pie Number of slices to send: Send
Hi,
in Jsp receive the parameters using getParameter() method and design the same form as in HTML.to the value attribute assign the value returned by getparameter().
thanks
+Pie Number of slices to send: Send
How will I save the value of... for eg
nlocsc
I have two textboxes(nlocsc) one for graduate and for college
They are going to be two diffeerent values but the name of the
box is nlocsc.
How should I go about displaying the data?
How should I write my bean then?
+Pie Number of slices to send: Send
You can call the fields in a form anything you like. The name is only used by the form and the servlet which parses it. Why not call the college one "college_nlocsc" and the other one "graduate_nlocsc" ?
Put a gun against his head, pulled my trigger, now he's dead, that tiny ad sure bled
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1035 times.
Similar Threads
Horizontal scrollbar problem
Help requested
raw HTML in Mozilla
save checked value in checkbox to database
My bean doesn't quite work
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 11:46:57.