W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2000

servlet sample import section for Jigsaw web server

From: Fitzgerald William <yr499040@cs.may.ie>
Date: Sat, 4 Mar 2000 08:35:08 -0500 (EST)
Message-Id: <200003041336.NAA16401@l3ult22.may.ie>
To: www-lib@w3.org
hi there,

my name is william fitzgerald and i'm a fourth year student at maynooth n.u.i. 
in ireland.

i have servlets asscessing my msql database on jsdk2.1 no problem but now i want 
them on the web.
i've installed and run the Jigsaw server, didn't touch the admin section yet as 
i'm only running it on my machine first.

i cant seem to run my servlets that i copied from the jsdk2.1 to Jigsaw.

i get this error:
java.lang.ClassNotFoundException: com.imaginary.sql.msql.MsqlDriver

i've stored my html files in :

and it goes to my servlet folder where i just copied accross my servlet class 
file from jsdk2.1 in:
and throws me the error:
java.lang.ClassNotFoundException: com.imaginary.sql.msql.MsqlDriver

is it to do with my imports ?
they work fine on the jsdk2.1!!

my imports are as follows:
import java.io.*;
import java.util.*;
import java.net.*;
import java.sql.*;

import java.util.Vector;
import java.net.URL;

import javax.servlet.*;
import javax.servlet.http.*;

my classpath is set as follows:
l3ult22% echo $CLASSPATH
 i installed in on my unix machine solaris-2.7-sparc 
scripts/install.sh etc.

addition info:
i'm using java1.2, and
msql details:Version Details :-

        msqladmin version       2.0.11
        mSQL server version     2.0.11
        mSQL protocol version   23
        mSQL connection         Localhost via UNIX socket
        Target platform         Solaris-2.7-Sparc

Configuration Details :-

        Default config file     /home/yr499040/msql-2.0.11/msql.conf
        TCP socket              1114
        UNIX socket             /home/yr499040/msql-2.0.11/msql2.sock
        mSQL user               yr499040
        Admin user              yr499040
        Install directory       /home/yr499040/msql-2.0.11
        PID file location       /home/yr499040/msql-2.0.11/msql2d.pid
        Memory Sync Timer       30
        Hostname Lookup         True

please help if you can,
bye for now,
Received on Monday, 6 March 2000 03:27:28 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:52 UTC