The DBUtil library from Apache provides a set of class for doing a variety of standard database tasks.
eg. To make a query becomes as simple as the following, providing the result set as a List of arrays where each list elements contains a row.
QueryRunner runner = new QueryRunner();
ArrayListHandler handler = new ArrayListHandler();
List<Object[]> result = runner.query(connection,
"SELECT * FROM MyTable WHERE name=?", handler, "Joe Smith");
DbUtils.close(conn);
written by objects
\\ tags: apache, jdbc DBUtil, list, query, ResultSet
By default you can find the document root for Apache on a Mac (Leopard) in the following location.
/Library/WebServer/Documents/
written by objects
\\ tags: apache, leopard, mac, web server
Apache installations often announce lots of information about what they are running such as what OS is being used, the version of Apache, and what Apache Modules are loaded.
To disable this, add the following to your httpd.conf
ServerSignature Off
written by objects
\\ tags: apache, secure, ServerSignature