Hello, I met two problems in my project: 1. I wrote the following application. It can be complied. However, when I run it, i get the error message:
My Application.java is as followed:
2. I want to count rows when I select something from tables. I use the following jsp programming. However, I cannot get the variable "count"'s value after I execute the SQL. The SQL is The method I want to get the value of "Count" is My whole program is as followed:
Can anybody help me ?? Thank you in advance! Yurong
posted 14 years ago
U set the classpath ur mysql driver..then u can get the result..