Problem using PostgreSQL driver

Rafael Jorge <[email protected]>
Newsgroups gmane.comp.cms.jahia.devel
Message-ID <[email protected]>
Hi, i'm here again...=D
well, in my portlet (that works XD) i'm trying to use the postgresql
driver to connect with my database (the Jahia use the postgresql too)
my code is this:

Out = response.getWriter();
try{
    Driver.forname("org.postgresql.Driver");
}catch(ClassNotFoundException e){
    Out.println("<font color=\"#c51313\">Could not load the
apropriated driver</font><br/>");
}

but when i run it, the result always shows me "Could not load the
apropriated driver"...why???

Thanks ;]
-- 
SDM - Garimpar.com
Seja esperto, seja livre, seja Linux
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.