wood burning stoves 2.0*
The moose likes JSF and the fly likes retriving values from mysql using jsf 2.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "retriving values from mysql using jsf 2.0" Watch "retriving values from mysql using jsf 2.0" New topic
Author

retriving values from mysql using jsf 2.0

prashant rathod
Greenhorn

Joined: Apr 05, 2012
Posts: 11
Hi
i want to know about how to retrive values from mysql or how to insert the values to mysql database from the jsf page?
i have created service.xml. and it created the proper table in the database. now i want to insert the values to that table.
i am able to print the values from jsf page to console. so i want these values to be inserted into the database.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15964
    
  19

There is nothing in JSF relating to persistent data. The exact same techniques used to fetch and store mysql data in non-JSF code also work in JSF.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: retriving values from mysql using jsf 2.0
 
Similar Threads
import excel data into mysql database?
How to insert multiple selection from JSP to MySQL
Inner Join of entity objects
How to insert multiple rows in the database within one go
how to move a variable's value from bean page to another java class