Vote count:
0
In order to learn servlet + database, I have followed this tutorial (only the first part - not MVC). The issue is that servlet page does not return any results from MySQL database. I followed all configuration steps (e.g. copy/paste connector on apache/lib folder, copy/paste all java and xml files, etc) but no results so far.
Source code compiles successfully, no warning, no errors, but when I run http://localhost:8080/hellodbcp/trydbcp and display page source code I have only this:
<!DOCTYPE html>
<html>
<head><title>Qurey Servlet</title></head>
<body>
</html>
Any guidance on this, please?
asked 22 secs ago
Servlet does not return any results from mysql database
Aucun commentaire:
Enregistrer un commentaire