I have a class "StoreManager" with a static method "public static Store
getStore(String storeID)", which returns an object of type Store. I'd like
to make this store object's lifespan "session".
How do I do this? I don't necessarily need to use the USEBEAN tag, I
actually prefer writing scriplet code(although wouldn't mind knowing how do
do it both ways). And once I've got the object created, how do I access is
from the same JSP and other JSPs in the same session?
Also,
If I created a Store object using USEBEAN, how do I pass in the params for
the constructor? Or for beans are you not supposed to have params in the
constuctor?
Thanks a lot for any help.
===========================================================================
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