File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 3902

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]
It is sorta covered in the JavaRanch Style Guide.
subject: hey can you tell me
It's not a secret anymore!