I would start by going to the Websphere forum to find out what the best practice for connecting to a database is (what connection pool options are availabe in that app server etc..) or, better, reading the server's documentation.
Then I would follow a few
JDBC tutorials to find out how to extract the data you are looking for from the database. There is a JDBC forum on this site if you get stuck on anything.
From there, it's just a matter of writing the data as HTML.
In servlets, this is done by getting a printWriter and calling it's println(
String) method.