Hi,

Unless you are deploying servlets within a distributed servlet engine,
should be pretty safe to use static variables and/or static methods
to share data betwen servlets.
public-ize them if servlets arent in the same package.

Cezar



On Mon, 26 Apr 1999, Jose Diaz wrote:

> Hi, I'd like to know how to share data between different servlets I'm using JSDK
> 2.0 so I can't use the JSDK 2.1 ServeltContext methods to share data.
>
>   Thanks in advance.
>
>    J.M.
>
> ___________________________________________________________________________
> 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
>


Cezar Totth                             email:  [EMAIL PROTECTED]
                                        Fax:    (401) 220 33 95
Genesys Software Romania                Phone:  (401) 638 49 44
Stefan Furtuna 169, sect.6
cod 77171, Bucharest
Romania

___________________________________________________________________________
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