[Fwd: servlet sample import section for Jigsaw web server]

Wrong mailinglist. 
You posted to the W3 WWW library mailinglist (www-lib@w3.org), but AFAIK
the correct destination would be W3 jigsaw mailing list
(www-jigsaw@w3.org).
I forwarded the mail for you...

-------- Original Message --------
Subject: servlet sample import section for Jigsaw web server
Resent-Date: Mon, 6 Mar 2000 03:27:33 -0500 (EST)
Resent-From: www-lib@w3.org
Date: Sat, 4 Mar 2000 08:35:08 -0500 (EST)
From: Fitzgerald William <yr499040@cs.may.ie>
Reply-To: Fitzgerald William <yr499040@cs.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 :
http://l3ult22:8001/Doc/User/Schedules.html

and it goes to my servlet folder where i just copied accross my servlet
class 
file from jsdk2.1 in:
http://l3ult22:8001/servlet/QueryTable
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
.:/home/yr499040/msql-jdbc-2-0b5/msql-jdbc-2-0b5.jar:/home/yr499040/ib12/infobus
.jar:/usr/java1.2/jre/lib/rt.jar:/home/yr499040/jsdk2.1/servlet.jar
 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,
thanks,
bye for now,
fitz.

Received on Monday, 6 March 2000 15:11:56 UTC