GeeCON Prague 2014*
The moose likes JDBC and the fly likes Postgresql Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "Postgresql" Watch "Postgresql" New topic
Author

Postgresql

Mark Leong
Ranch Hand

Joined: Dec 11, 2000
Posts: 60
Can anybody give me some hint on how to access PostgreSQL db on Linux through servlet?
I have set up the PostgreSQL and managed to create tables and insert records. But I want to access the records through servlet and the browser.
What driver should I specify? (I am using RedHat 6.2)
How to specify the connection URL?
Must I change the db configuration file? If yes, what to change.
Thanks in advance.
 
Consider Paul's rocket mass heater.
 
subject: Postgresql