Dan wrote:
>
> Hello All,
>
> I am fairly new to servlet programming, and am having problems sharing
> data between servlets.  The setAttribute() and getAttribute() methods
> in the API 2.1seem to be the best way to do this but I can not make
> the setAttribute() method work at all...
>
> The following simple servlet code demonstrates my problem.  It will
> not work for me using using the JavaWebServer1.1.3. unless the
> setAttribte() line is removed.  Can some one enlighten me as to
> why...?

JWS 1.1.3 supports API 2.0.  Calls using methods added in API 2.1 aren't
going to work.  Sun just released a JWS 2.0 beta that includes 2.1
support.  http://www.sun.com/software/jwebserver/20beta1/index.html

-jh-

--
Jason Hunter
[EMAIL PROTECTED]
Book:    http://www.servlets.com/book
Article: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html

___________________________________________________________________________
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