Select data from Firebird by means of JSTL in Netbeans 8

In last post I describe how create website in JSTL. In this post we select data from database and display them into table.

Open in Netbeans our NewJSTL project. Right click the Libraries node and choose Add JAR/Folder.

Choose from opened window jdbc driver for your database. On the list of libraries you see this jar file.

Open your index.jsp file and paste into it this code:









    
        
        JSTL
    
    
        

JSTL page selected data from database

        SELECT * from testdb;        
ID Name

Change values connected to database , name of table and column for yours.

Check if you have connected to the database in Services window.

Run your application.