File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes JSF 2.0 MySQL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF 2.0 MySQL " Watch "JSF 2.0 MySQL " New topic


Robert Richter

Joined: Dec 16, 2012
Posts: 11
sorry for my bad english but i hope you can understand what i want to do ;-)

Those are the first steps for me in JSF.
I want to show some Data from a MySQL - Database on a website with jsf 2.0
I have create a webapplication with netbeans and have a index.xhtml an a managed bean named MySQL.
When I start it, there is nothing displayed and also the systemout shows nothing.
I hope you can help me.

this is the index.xhtml

and here the managed bean....i know there is a while loop but in the next step i want to show this in a jsf-datatable.

Robert Richter

Joined: Dec 16, 2012
Posts: 11
I agree. Here's the link:
subject: JSF 2.0 MySQL
It's not a secret anymore!