----------------------------------------------------------------
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!!!
----------------------------------------------------------------
As you said: "jdsk isn't in your classpath."
It must be something like this:
[root@aplicacion logs]# echo $CLASSPATH
/usr/local/jsdk2.1/server.jar:/usr/local/jsdk2.1/servlet.jar
(Obviously, this line must be replaced with your current locations of that files)
That is because you're compiling a servlet (jserv is a servlet) and it =
requires those entries.
Hope this works
Sergio Rios
----------------------------------------------------------------
>I'm trying to get apache j-serv to work.
>I have HPUX 11.00
>The most recent jserv from apache
>Java SDK 1.2.2.05 (tried with JDK 1.18 same results)
>jsdk 2.0
>Apache 1.3.12
>
>for apache
>./config --prefix=3D/opt/apache --enable-module=3Dmost =
>--enable-shared=3Dmax
>make
>make install
>Works fine
>
>for jserv
>./config --prefix=3D/opt/jserv --with-jdk-home=3D/opt/java1.2 =
>--with-JDSK=3D/opt/J
>DSK2.0 --with-apxs=3D/opt/apache/bin/apxs
>
>works fine
>make, I get the following errors:
>
>JServ.java:61: Package javax.servlet not found in import.
>import javax.servlet.*;
> ^
>JServ.java:62: Package javax.servlet.http not found in import.
>import javax.servlet.http.*;
> ^
>JServ.java:80: Superclass org.apache.jserv.HttpServlet of class
>org.apache.jserv
>.JServ not found.
>public class JServ extends HttpServlet implements JServLogChannels,
>JServDefs {
> ^
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]