File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes database addition to input values Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "database addition to input values" Watch "database addition to input values" New topic
Author

database addition to input values

kenji kunoichi
Ranch Hand

Joined: Jun 02, 2007
Posts: 38
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 ??
aanshu gupta
Greenhorn

Joined: Feb 08, 2010
Posts: 23
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.


Anshu Gupta, Persistent Systems Limited, India
SCJP 5.0, SCWCD 5.0
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: database addition to input values
 
Similar Threads
jquery accordion is causing jquery treeview picker to breakup
Problem Passing Parameter values to action
need help :: multiple rows update without primary key
Can't pass changed beans values from one JSP page to another
selecting multiple rows to update value