0 Replies Latest reply on May 12, 2005 11:00 PM by Faustus Christo

    Servlet Database Access

    Faustus Christo Newbie

      Hi! I'm having trouble accessing a database from a servlet. I checked the log and I got this error:

      2005-05-13 10:37:34,187 INFO [STDOUT] java.lang.NullPointerException
      2005-05-13 10:37:34,187 INFO [STDOUT] at java.lang.Class.forName0(Native Method)
      2005-05-13 10:37:34,187 INFO [STDOUT] at java.lang.Class.forName(Class.java:164)

      I am able to access the database using JSP. The servlet also works in Tomcat.