For simple demonstration purposes, JSP+Postgres (or any jdbc-enabled db) is
very simple.
I'm not aware of a HOWTO, but here's a little advice:
Install PostgreSQL. Start postmaster with "-i" option.
Download the postgresql jdbc driver (from http://jdbc.postgresql.org).
Look on java.sun.com for jdbc tutorial.
Use a connection string similar to this to connect to your database:
Connection db = DriverManager.getConnection( "jdbc:postgresql://127.0.0.1:5432/mydatabase", "myusername",
"mypassword")
For testing purposes, doing this in JSP is just like doing it in a simple java
program.
When you get ready to have multiple users, I recommend modifying your webapp
to use DDConnectionBroker to pool your database connections.
MT
--- Joseph Syjuco <joseph@asti.dost.gov.ph> wrote:
> I would like to experiment using jsp with postgres and i need help on
> the url of a simple tutorial on how to configure jsp and postgres.
> Thank you so much
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com