----- Original Message -----
From: Ari Kukkonen <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 01, 1999 3:00 PM
Subject: Type expected
> Could somebody tell me what is wrong with this servlet:
>
> import java.sql.*;
> import java.io.*;
> import java.util.*;
> import javax.servlet.*;
> import javax.servlet.http.*;
>
> public class SimpleServlet extends HttpServlet
> {
> static String driver = "oracle.jdbc.driver.OracleDriver";
> Class t = Class.forName (--->oracle.jdbc.driver.OracleDriver<---);
Try using the variable driver or put "'s around the string in the
Class.forName method call
Andy Bailey
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html