It's not a secret anymore!
The moose likes JDBC and Relational Databases and the fly likes hey can you tell me Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "hey can you tell me " Watch "hey can you tell me " New topic

hey can you tell me

nhlanhla mazibuko

Joined: Mar 28, 2008
Posts: 16
What dose this information mean? to my database connection

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

30: System.out.println("Error occurred " + e);
31: }
32: try {
33: stmt = conn.prepareStatement("SELECT * http://localhost:8080/knotionproject/databaseconnectionjsp.jsp=");
34: stmt.setString(1, "nhla123");
35: result = stmt.executeQuery();
36: stmt.close();

Vijitha Kumara

Joined: Mar 24, 2008
Posts: 3899

Please use a Meaningful Subject when you post.

stmt = conn.prepareStatement("SELECT * http://localhost:8080/knotionproject/databaseconnectionjsp.jsp=");

Is this a SQL query you are using? If so, that's not a valid SQL. What are you trying to do here?

[How to ask questions] [Twitter]
I agree. Here's the link:
subject: hey can you tell me
It's not a secret anymore!