>From memory, they're in jst.jar
--
dIon Gillard, Multitask Consulting
Work:      http://www.multitask.com.au
Play:        http://www.trongus.com

Re: Where is com.sun.server.HttpServiceRequest ?

Unfotunately, I'm not using Websphere, I'm using the following
environment:

RedHat          6.0
Apache JServ    1.0
GSP             0.86    (JSP Spec 0.91)
Blackdown JDK   117_v3

I very much appreciate the responses I've gotten, but as of yet I haven't
gotten a classfile that will work.  Despite the fact that my servlet
compiles, I get the following error at runtime:

[06/07/1999 08:42:58:897] (ERROR) ajp11: Servlet Error:
java.lang.NoClassDefFoundError:
com/sun/server/http/HttpServiceRequest$AttributeDictionary:
com/sun/server/http/HttpServiceRequest$AttributeDictionary
[06/07/1999 08:42:58:911] (ERROR) an error returned handling request via
protocol "ajpv11"

This is produced by the following line

            HttpServiceRequest req = new HttpServiceRequest();
            req.setAttribute("First_Bean",bean);

Is it possible that the com.sun.server.http.HttpService.* classes are
actually interfaces and thereby uninstantiable?  With this in mind, I
tried doing the following but still got the same error as above:

            HttpServiceRequest req = (HttpServiceRequest) request;
            req.setAttribute("First_Bean",bean);

Please note:  Both of the above examples compiled fine but gave the same
error at runtime.

Thanks much for any help anyone can give,

-Tim



On Tue, 6 Jul 1999, Steve Njenga wrote:

> If you are using Websphere, the file is in
> QIBM/ProdData/IBMWebAs/Lib/jst.jar
>
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and
> reference [mailto:[EMAIL PROTECTED]] On Behalf Of Tim Reilly
> Sent: Friday, July 02, 1999 1:05 PM
> To:   [EMAIL PROTECTED]
> Subject:      Where is com.sun.server.HttpServiceRequest ?
>
> I know this is a really stupid question, but can someone please tell me
> which jar file contains the above class?  I'm trying to pass a bean to a
> JSP page under JSP 0.91, but I can't seem to figure out where to find
this
> class so I can pass around beans.
>
> Thanks in advance,
>
> -Tim

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to