----------------------------------------------------------------
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!!!
----------------------------------------------------------------

ok...sounds possible! Now, any ideas on loading pages then? The examples I
find all seem to use requestdispatchers in this manner!

Phil
-------------
Phil Smy, VNU Publitec
phone:  31-20-567-6704
fax:    31-20-691-0374


-----Original Message-----
From: Andras Balogh [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 16, 2000 11:20 AM
To: Java Apache Users
Subject: Re: getRequestDispatcher??

Hi,

I am not sure but i think because JSDK20 doesn't support this.
You have to redesign your servlet because JSERV supports only
this version of JSDK.

p.s. If it compiles it means that on your develpoment machine you have
JSDK2.1 or higher. Downgrade. :)

Best wishes,
                 Andras.
----- Original Message -----
From: Phil Smy <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 16, 2000 11:08 AM
Subject: getRequestDispatcher??

> I am sure that I am doing something wrong, but, looking through the faq
and
> archives and not finding anything I am resorting to this noise! :-)
>
> Anyway, I am trying to have a servlet launch / load a jsp page. Both jsp
> pages and Servlets work fine in my setup.
>
> The code is like this in the servlet:
>
> ServletContext sc = getServletContext();
> RequestDispatcher rd = sc.getRequestDispatcher("/snoop.jsp");
> rd.forward(req, res);
>
> it compiles fine, but, running I get this in the jserv.log:
> [15/02/2000 13:05:43:456 CET] java.lang.AbstractMethodError:
> org/apache/jserv/JServContext.getRequestDispatcher
> at
> org.apache.jserv.JServConnection.processRequest(JServConnection.java:320)
> at org.apache.jserv.JServConnection.run(JServConnection.java:188)
> at java.lang.Thread.run(Thread.java:479)
>
> Any ideas? Is this because of a problem, perhaps between what version of
the
> Sun stuff I have (too new?). Comments / pointers to comments would be
> greatly appreciated.
>
> Thanks from a first-time poster!
>
> Phil


--
--------------------------------------------------------------
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]

Reply via email to