aspose file tools*
The moose likes JDBC 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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
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: 3775

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
Similar Threads
Intra Ranch Go Game!
Average age on the ranch.
Can't deploy code for taglibs on Tomcat 5.5
Place the States on the Map
Create a counter that increments once a second until a given number of seconds is reached