Hey all..
Geared mostly towards Craig...
I am doing the Model 2 stuff. I load up a single instance class for each
request..once loaded, it returns the class instance for all future requests.
I am using Orion App Server right now. I have set up 3 web sites, one for
each IP address. They ALL point to the same one app on my HD, c:\www. So,
even though three separate ips are used (to allow 3 separate sessions to
exist), I am noticing that EACH ip loads the action class up once. Is this
because of the session itself being separated? I only have one JVM running,
and one classes hashtable storing this info. So why is it each ip, when used
to log in to the same one controller servlet, loads an instance of the
class, instead of using the one that is there?
My best guess is that the orion app server is either running 3 JVMs, are 3
servlet containers in the one JVM, one for each session..or that the class
instances are only being stored in the session itself. I dont put the
classes object (hashtable) in the http session or anything..so what is the
deal with this?
Thanks.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets