----------------------------------------------------------------
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!!!
----------------------------------------------------------------
It got this mess when trying to use getContextPath()
[23/03/2000 20:16:51:871] (ERROR) ajp12: Servlet Error:
java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest: method
getContextPath()Ljava/lang/String; not found:
javax.servlet.http.HttpServletRequest: method
getContextPath()Ljava/lang/String; not found
Before putting in the line to get the Context Path, this servlet worked
fine, with the exception that getServletPath returned an empty string.
Ben Ricker wrote:
> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
>
> I am attempting to implement the following Apache Jserv setup:
>
> Apache 1.3.12
> Jserv 1.1
> JSDK 2.1
> Sun JDK 1.2.2
>
> I have been getting no end of java exception errors. The java guy says
> that Apache/Jserv is not compatible with JSDK 2.1. The servlets are
> written with 2.1 classes. Are we dead in the water here? Is there a way
> to use JSDK 2.1 with Apache Jserv? The FAQ says that it only works with
> JSDK 2.
>
> Thanks,
>
> Ben Ricker
>
> --
> --------------------------------------------------------------
> 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]
--
--------------------------------------------------------------
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]