Could you let me know how many JVM is loaded in each application server
such as Tomcat, Jrun, or Websphere.  It seems only one JVM for sharing
objects.


Thanks,
CL





Nils Janson <[EMAIL PROTECTED]>
Sent by: A mailing list about Java Server Pages specification and
reference <[EMAIL PROTECTED]>
02/04/2002 06:25 PM
Please respond to A mailing list about Java Server Pages specification and
reference


        To:     [EMAIL PROTECTED]
        cc:
        Subject:        Re: Static variables


yes
----- Original Message -----
From: "Gardner Monte" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 04, 2002 5:29 PM
Subject: Static variables


> Hypothetical situation:
>   Say I have a class called Market as such
>
> Class Market
> {
>   static int price = 5;
> }
>
> and I have two different users using JSP pages that access the
> class Market.  If user A runs a JSP page that causes the Market.price
> variable to change, then shortly afterwards, User B runs a page that
> displays the value of Market.price, will the change that user A made be
> reflected on User B's page?
>
> --Monte Glenn Gardner
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to