On Tue, 5 Oct 1999, Lantner, Dan wrote:

> Maybe someone out there has been in this situation before:
>
> I have been trying to run a few servlets from my web server (NES 3.6) but
> I've not had much luck yet. I placed the servlets in the
> /plugins/java/servlets directory, and set up this directory in the server
> administration program.  When I call the servlet from my web page I get this
> error:
>
> java.lang.NoSuchMethodError: javax.servlet.ServletResponse: method getWriter
> ()Ljava/io/PrintWriter; not found
>
> I loaded the JSWDK 1.0 on my local machine and I'm able to run the servlets
> without any problems. Is the problem with missing  javax.servlet.* class
> files on the server? I tried putting the .jar files that came with the JSWDK
> in various directories (/classes, /other-classes) but this didn't seem to do
> anything. It seems that the server thinks PrintWriter is a class under
> java.io...
>
> Anybody have any experience with this (or suggestions)?

NES 3.6 only supports JSDK 1.0, and I believe getWriter is a JSDK 2.0
method.  You'll need to use a third party servlet engine (e.g. New
Atlanta's ServletExec, Allaire/Live Software's JRun) with NES 3.6 to
get support for more recent JSDK's.

I do believe that NES 4.0 (now called something like iPlanet 4.0 from
the Sun/Netscape Alliance) does support JSDK 2.0.  But the other
products mentioned above already support JSDK 2.1, and one would
suspect that they'll be able to more closely track the new JSDK API's
as they come out.  YMMV.

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to