Hi Barry, Your System.out messages are going to the java console, which depend on how you started Tomcat. If your running from a script like startup.sh, startup.bat look at the output from that script Unix nohup startup.sh & tail -f nohup.out
dos startup.bat look in console window A better way to do this is to use a Logging api (apache commons logging, adligo i_log, log4j, the one that comes with java, exc) and call log.error(x.getMessage(), x); In your log configuration (log4j.xml for instance) you can tell the log system where to send your log message (this file, some email, some database exc). Cheers, Scott On May 8, 10:19 am, Rumpole6 <[email protected]> wrote: > Hi all, > > I am trying to jdbc in the servlet for my application. I am catching > the SQL expections and using system.err.println() to print out the > error. When I deploy to tomcat, I don't know where to look in order to > see if I am getting any SQL errors. > > Is this the correct way to do this? Where do I find these errors? > > Thanks, > > Barry --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
