Hint: Never write try clauses that throw away the exception.
Add the following code before the "finally: clause:
While I don't otherwise condone web apps printing to stdout, in
Tomcat it will show up in one of the catalina output logs.
For a Real World app, I'd use proper logging and add error handling code to the app, but this will get you rolling.
[ December 06, 2007: Message edited by: Tim Holloway ]
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.