Jump to content
Fórum Script Brasil
  • 0

Conectar Java web com Postgresql


pangare
 Share

Question

Salve a todos,

preciso de ajuda para efetuar a conecxão do java com o postgres o problema é que estou trancando em um erro que até agora não consegui definir onde é...já baixei o jdbc do site da postgres especifico para a versão que estou ultilizando 9.2.... abaixo vai o codigo e o erro...

org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 12

9: <body>
10: <%
11: try {
12:     Class.forName("org.postgresql.Driver");
13:     out.println("foi");
14:     }
15: catch(ClassNotFoundException Erroclass)

desde já grato a todos.

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Forum Statistics

    • Total Topics
      150.2k
    • Total Posts
      647.5k
×
×
  • Create New...