And doesn't the 0.92 reference implementation from Sun only work the JSDK
2.1, not 2.0?

Regards,
Joe.

--
Joe Shevland
Principal Consultant
Turnaround Solutions Pty. Ltd.
Ph:  +61-03-6224-9146 * Fax: +61-03-6223-2556
--
'The label said 'Requires Windows 95 or better...' so I installed FreeBSD'.

> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jarrett Jimmy
> Sent: Thursday, March 11, 1999 8:08 AM
> To: [EMAIL PROTECTED]
> Subject: Basic JSP Question
>
>
> I just started using JSP.  So far, I am having no luck.  I've
> read the spec and
> have
> successfully ran the demos provided.
>
> Machine Specs:
> Windows NT
> JDK1.2 (or JDK2.0)
> JSDK2.0
> JSP.92
>
> I'm trying to run a Servlet that accesses a .jsp file on my local
> machine.  At
> this URL
> http://www.software.ibm.com/webservers/appserv/doc/guide/asgdwp.ht
ml#HDRJSPAPI
it contains this snipet of code:

// To send the Bean to a JSP file for content formatting and display
// 1) Set the Bean as an attribute in the current request object
((com.sun.server.http.HttpServiceRequest) req).setAttribute("dataBean",
dataBean);

// 2) Use callPage to invoke the JSP file and pass the current request
object
((com.sun.server.http.HttpServiceResponse) res).callPage("/DisplayData.jsp",
req);

Now, this seems extremely straightforward.  However, when I try to compile
this
code, I keep
getting an error (class def not found error).  The class that can't be found
is
the
com.sun.server.http.HttpServiceResponse.  Do I need a different version of
the
JSP or the
JSDK?  Or, is this a class file that's provided by Servers?

I'm only using the servletrunner that comes with the JSDK2.0 to test my
Servlets.

Any and all help will be extremely appreciated.

Thanx,
Jimmy

===========================================================================
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".

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