Forums Register Login

database addition to input values

+Pie Number of slices to send: Send
hi,
I have a jsp page ....with 2 input text values on which I can add any text .


<body>
<h:form>
<h3>Please enter your details.</h3>
questions: <h:inputText value="#{user.questions}"/>


<h:commandButton value="Insert Values" action="login"/>


</h:form>

like that now what I need to do to input values in mysql database ??
+Pie Number of slices to send: Send
you just need a managed bean which connects to the database and inserts the text into the table. create the table in mysql with the fields you want.
Fire me boy! Cool, soothing, shameless self promotion:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1038 times.
Similar Threads
selecting multiple rows to update value
Problem Passing Parameter values to action
jquery accordion is causing jquery treeview picker to breakup
Can't pass changed beans values from one JSP page to another
need help :: multiple rows update without primary key
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 01:39:35.