Pergunta

Just out of curiosity, is it possible to connect to an SQLite database from a JSP page using JSTL or is it just for MySql and all the other big DBMS?

I want to implement this simple blog application but would like to use SQLite instead of some big and perhaps heavy database system.

Foi útil?

Solução

The JSTL SQL tag library makes use of JDBC to connect to a database (also note that JSTL SQL is designed for quick prototyping, not real applications).

JDBC is an abstraction layer over any database. The actual details of the underlying database are handled by a specific driver.

To use SQLite you could give this driver a try.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top