I'm trying to connect to my postgresql db from a JSP page but my db is on one computer and the jsp in another..
Has anyone done something like this before??
private synchronized Connection getConnection() throws ClassNotFoundException,
final String DRIVER = "org.postgresql.Driver";
final String URL = "jdbc:postgresql:FormAjax";
final String USERNAME = "postgres";
final String PASSWORD = "form";
return DriverManager.getConnection(URL, USERNAME, PASSWORD);
pgsql-sql by date
|Next:||From: Erik Jones||Date: 2008-03-27 15:24:39|
|Subject: Re: Finding all References to a Primary Key|
|Previous:||From: Roberto Spier||Date: 2008-03-27 12:16:36|
|Subject: Re: Export Access 97 to PostgreSQL|