Hello everybody!
Our jsp-pages are using a bean to extract information from a database to the
webbpages. The idea was that every "session" (NOT a session in jsp-terms)
should use only one instance of the bean, i.e. for every person that would
access the bean, the one and same object should be used, but if let's say 3
persons are accessing the webserver at the same time, 3 different objects
would handle the requests.
We are using the Orion 0.76b jsp-server.
When using :<jsp:useBean id="sqldata" scope="application"
class="dbquest.SqlAnsBean" /> on all our pages, only one instance of
SqlAnsBean is seems to be created nomatter the amout of different people
accessing the page.
When using :<jsp:useBean id="sqldata" scope="session"
class="dbquest.SqlAnsBean" />, the instance of SqlAnsBean seems to be lost
when "jumping" from one jsp-page to another.
What we desire is something in betweend the application and session
alternatives. Any solutions or answers??
Many thanks in advance,
/Gustav Engdahl
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html