----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Karthik,
I know how fraustrating it is ....
The problem is that I did not get that
many people interested in knowing how
to do it ....
Well, that means two things,
either, people do not read my mail (not to
offen those who has helped me before, thanks
to all who has replied), or they already
knew how to do it. I don't know why some
help in simple things like that can not
be offered .???
Here is my solution, but I have to stress
that it is an adhoc one, I am still hoping
someone would give me a proper one.
I found that .java files compiled under
jdk1.2.2 + apache1.3.12 + jserv1.1 + JDK2.0
do not work properly. This is my path and classpath
under which the compiled
PATH=/usr/local/jdk1.2.2/bin:/usr/local/jdk1.2.2/:/usr/local/jdk1.2.2/bin/:/usr/local/JSDK2.0/lib/:
CLASSPATH=/usr/local/jdk1.2.2/lib/tools.jar:/usr/local/jdk1.2.2/lib/jpda.jar:/usr/local/jdk1.2.2/lib/dt.jar:/usr/local/jdk1.2.2/src.jar:/usr/local/JSDK2.0/lib/jsdk.jar:/usr/local/JSDK2.0/lib/jsp.jar:/usr/local/JSDK2.0/lib/jst.jar:/usr/local/JSDK2.0/lib/pjbean.jar:/usr/local/JSDK2.0/lib/servlet.jar:/usr/local/JSDK2.0/lib/ssl.jar:/usr/local/JSDK2.0/lib/x509v1.jar:
Bad Request is the response when a .html file is pointed to a
.class file.
So, what I did was to compile the .java using some other
.jar files (in fact from jswdk-1.0.1).
CLASSPATH=/usr/local/jdk1.2.2/lib/tools.jar:/usr/local/jswdk-1.0.1/lib/servlet.jar:/usr/local/jswdk-1.0.1/lib/jspengine.jar:/usr/local/jswdk-1.0.1/lib/xml.jar:/usr/local/jdk1.2.2/lib/jpda.jar:/usr/local/jdk1.2.2/lib/dt.jar:/usr/local/jswdk-1.0.1/webserver.jar:/usr/local/jdk1.2.2/src.jar:
To get it to work temporaily, get yourself a copy of jswdk-1.0.1 and
put your classpath to it and compile your .java file there. If you
have any other problems I am happy to help.
regards
michael
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]