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 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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 16022
    
  20

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