Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hey can you tell me

 
nhlanhla mazibuko
Greenhorn
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 3908
9
Chrome Fedora Hibernate
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic